شعار Phoronix Test Suite

Phoronix Test Suite

مؤسسة
intel
phoronix-test-suite

Install, run, parse, and optimize benchmarks from the Phoronix Test Suite (PTS). Use this skill whenever the user mentions "phoronix", "pts/", or "phoronix-test-suite", or asks to run, measure, improve, or optimize a PTS test — e.g., "run pts/mt-dgemm", "optimize pts/compress-zstd", "what score does pts/x265 get". Trigger immediately on any `pts/<testname>` reference, even if the user doesn't explicitly say "phoronix". Also trigger when the user asks to find or edit the source code of a PTS test.

نظرة عامة

الناشرintel
المستودعskills
اسم المهارةphoronix-test-suite
النجوم
31
التفريعات
14
الملفات المرفقة
تعليمات فقط
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها intel على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Phoronix Test Suite في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/intel/skills/tree/main/skills/phoronix-test-suite
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/intel/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/phoronix-test-suite .claude/skills/phoronix-test-suite
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Phoronix Test Suite في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Phoronix Test Suite تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Phoronix Test Suite بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Phoronix Test Suite skill

End-to-end support for running and optimizing benchmarks with the Phoronix Test Suite CLI (phoronix-test-suite). PTS is used as shorthand throughout.

This skill is organized into two parts:

  • Part 1: flows — end-to-end workflows (running, optimizing)
  • Part 2: primitives — focused building blocks that flows compose

Part 1: flows

Flow A: running a test

Use when the user wants to run or benchmark a PTS test.

  1. Resolve the test version — if not specified, run Refresh test list and then Resolve test version
  2. Install — use Install a test
  3. Run — use Run a test
  4. Parse output — use Parse test output
  5. Save and report — save to the results store and report to the user:
    • State the test name, version, score, and unit
    • If a prior result for this test exists in the store, report the delta using Evaluate test scores

Flow B: optimizing a test

Use when the user wants to improve the performance of a PTS test.

Step 1 — Establish a baseline Run Flow A and label the result "baseline" in the results store.

Step 2 — Analyze the code

  • Use Prepare source code for editing to locate the source.
  • Read the test's entry-point shell script in the install directory to find the compiled binary.
  • Invoke the linux-perf skill to profile the binary and identify hotspots.
  • Invoke the performance-patterns skill to identify SIMD, vectorization, and other recognized code-pattern opportunities in hot paths.
  • Check generated.json → honors_cflags: if "1", compiler flag changes (for example, -march=native, -O3, -mavx512f) are respected by the test runner and are worth trying.
  • Check pts-install.json in the install directory for the original compiler flags as a starting point.

Step 3 — Make improvements Apply optimizations such as SIMD rewrites, compiler-flag changes, algorithmic changes, or data-layout changes. Edit the source directly in the prepared source directory.

Step 4 — Rebuild and measure

Step 5 — Report using this template

## Optimization Report: pts/<test-name>-<version>

### Baseline
- Score: <value> <unit>

### Changes Made
1. <Change description>
2. <Change description>
...

### Result
- Score: <value> <unit>
- Delta: <+/- value> (<+/- percentage>%)
- Verdict: **Improved** / **Regressed** / **No change**

### Pending Ideas
<Any ideas not yet tried, or "None">

Step 6 — Offer another round If "Pending Ideas" is non-empty, ask: "Would you like me to try another round of optimization?"


Part 2: primitives

Resolve PTS root directory

PTS stores data in different locations:

  • Running as root: /var/lib/phoronix-test-suite
  • Running as a regular user: ~/.phoronix-test-suite

Check which path exists. This is $ROOT throughout the rest of this skill.


Refresh test list

Run this before resolving versions to ensure the local test-profile cache is up to date with OpenBenchmarking.org. This downloads the latest test metadata and may reveal newer versions than what is locally cached.

bash
phoronix-test-suite list-available-tests

Run this whenever:

  • The user asks for the latest version and you have not refreshed yet in this session
  • A test is not found in the local test-profiles directory
  • The user suspects a newer version exists

Resolve test version

When no version is specified, find the latest version available:

  1. Refresh first — run Refresh test list to pull the latest profiles from OpenBenchmarking.org
  2. Check the local cache — find the highest version in the test-profiles directory:
bash
ls $ROOT/test-profiles/pts/ | grep "^<test-name>-" | sort -V | tail -1

Use the version suffix from the resulting directory name (for example, mt-dgemm-1.2.0 → version 1.2.0).


Install a test

Check whether it is already installed — skip the install if this path exists:

$ROOT/installed-tests/pts/<test-name>-<version>/<test-name>

If it is not installed:

bash
phoronix-test-suite batch-install <test-name>-<version>

Run a test

Ensure the test is installed first. Running a test can take a long time — 10 minutes is common.

Auto-detect FORCE_TIMES_TO_RUN based on run_time_avg from generated.json:

  • If run_time_avg < 10 seconds → set FORCE_TIMES_TO_RUN=5
  • Otherwise → set FORCE_TIMES_TO_RUN=1
bash
export FORCE_TIMES_TO_RUN=<value>
phoronix-test-suite batch-run <test-name>-<version>

Parse test output

PTS run output ends with a summary block. Example:

ACES DGEMM 1.0:
    pts/mt-dgemm-1.2.0
    Test 1 of 1
    ...
        Started Run 1 @ 16:00:50

    Sustained Floating-Point Rate:
        2.361582

    Average: 2.361582 GFLOP/s
    Samples: 1

Extract:

  • Score: the numeric value on the Average: line
  • Unit: the unit string on the same line (for example, GFLOP/s)

Evaluate test scores

Read hib from $ROOT/test-profiles/pts/<test-name>-<version>/generated.json:

  • hib = 1 (Higher Is Better): score A is better if A > B
  • hib = 0 (Lower Is Better): score A is better if A < B

Prepare source code for editing

First, read install.sh in the test-definition directory:

$ROOT/test-profiles/pts/<test-name>-<version>/install.sh

If there is no compilation step (pre-built binary), source editing is not possible — tell the user.

Scenario 1 — Source directory is present install.sh does not delete the extracted directory after building. The source is already in the install directory. Find its name by looking at the tar -x (or equivalent) extraction step in install.sh.

Scenario 2 — Source directory was deleted install.sh removes the source directory after building, often because it conflicts with the test entry-point name. To recreate it safely:

bash
mkdir -p $ROOT/installed-tests/pts/<test-name>-<version>/src
cd $ROOT/installed-tests/pts/<test-name>-<version>/src
# then follow the extraction steps from install.sh, e.g.:
tar -xf ../<archive>

Important: Always extract into src/ rather than directly into the install directory. Extracting in place risks overwriting the test's main entry-point script if the archive contains a directory or file of the same name.


Rebuild a test

Read install.sh to understand the build process. The build commands generally start after the extraction step.

Scenario 1 — Source is in place: navigate to the source directory and re-run the build commands from install.sh.

Scenario 2 — Source is in src/: navigate to the extracted source inside src/ and run the same build commands.

After building, install.sh typically copies the resulting binary to the install directory. Repeat that copy:

bash
cp <binary> $ROOT/installed-tests/pts/<test-name>-<version>/

Results persistence

After each test run, append the result to the session's results store.

Location: files/pts-results.json inside the session folder (the path is listed in <session_context> at the top of each conversation). If no session context is available, use ~/.pts-results.json.

Format:

json
{
  "results": [
    {
      "test": "pts/mt-dgemm-1.2.0",
      "score": 2.361582,
      "unit": "GFLOP/s",
      "hib": 1,
      "timestamp": "2025-04-11T16:00:50Z",
      "label": "baseline",
      "notes": ""
    }
  ]
}

Use label to tag runs (for example, "baseline", "after-avx512", "round-2"). When reporting results, look up prior entries for the same test name and report a delta if found.


Key file reference

FileLocationPurpose
generated.jsontest-profiles/pts/<test>-<ver>/unit, hib, run_time_avg, honors_cflags, scales_cpu_cores
install.shtest-profiles/pts/<test>-<ver>/build and install steps; use as a guide for rebuild and source preparation
test-definition.xmltest-profiles/pts/<test>-<ver>/human-readable test description
pts-install.jsoninstalled-tests/pts/<test>-<ver>/compiler flags used at install time
<test-name>installed-tests/pts/<test>-<ver>/entry-point script; parse to find the compiled binary path

For full PTS CLI reference, see the upstream documentation.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Phoronix Test Suite؟

Install, run, parse, and optimize benchmarks from the Phoronix Test Suite (PTS). Use this skill whenever the user mentions "phoronix", "pts/", or "phoronix-test-suite", or asks to run, measure, improve, or optimize a PTS test — e.g., "run pts/mt-dgemm", "optimize pts/compress-zstd", "what score does pts/x265 get". Trigger immediately on any `pts/<testname>` reference, even if the user doesn't explicitly say "phoronix". Also trigger when the user asks to find or edit the source code of a PTS test.

لماذا تستخدم Phoronix Test Suite على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Phoronix Test Suite عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Phoronix Test Suite في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/intel/skills/tree/main/skills/phoronix-test-suite. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Phoronix Test Suite؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Phoronix Test Suite؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Phoronix Test Suite معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Phoronix Test Suite مجانية؟

نعم. نشرها intel على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇