benchmark-runner

Benchmark Thai word segmentation across kham-core, nlpo3, and PyThaiNLP.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/preedep/kham --skill benchmark-runner-preedep
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: benchmark-runner
Source: https://github.com/preedep/kham/tree/main/.claude/skills/benchmark-runner
Command: npx skills add https://github.com/preedep/kham --skill benchmark-runner-preedep

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires nlpo3, and includes scripts (resource) components.

What problem does it solve?

Benchmarks Thai word segmentation performance across multiple toolchains to help developers quantify speed and stability.

Core Features & Use Cases

  • Automates cross-tool benchmarks for kham-core, nlpo3, and PyThaiNLP.
  • Generates timing statistics (mean, p50, p99) to spot regressions and bottlenecks.
  • Useful for PR validation and performance profiling on diverse Thai text data.

Quick Start

Run the benchmark suite to compare kham-core against nlpo3 and PyThaiNLP on a sample Thai text.

Frequently Asked Questions about benchmark-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I benchmark Thai word segmentation performance across different libraries?

To benchmark Thai word segmentation, run automated cross-tool tests comparing kham-core, nlpo3, and PyThaiNLP on Thai text samples. The suite outputs mean, p50, and p99 timing metrics to help you identify speed regressions and bottlenecks.

Do I need Rust and Python to compare segmentation speed between kham-core, nlpo3, and PyThaiNLP?

Yes, comparing segmentation speed requires the Rust toolchain to run cargo bench for kham-core, and Python to execute the comparison script for nlpo3 and PyThaiNLP. Both environments are needed to generate the timing statistics.

What timing metrics are generated when profiling Thai text segmentation?

Profiling Thai text segmentation generates mean, p50, and p99 timing metrics. These statistics help you spot performance regressions and identify bottlenecks across kham-core, nlpo3, and PyThaiNLP on diverse Thai text data.

Can I use segmentation benchmarks for PR validation and performance regression testing?

Yes, you can use segmentation benchmarks for PR validation and performance regression testing. The automated cross-tool benchmarks quantify speed and stability, generating p50 and p99 metrics to detect regressions on Thai text samples.

What is the best way to evaluate segmentation bottlenecks in Thai NLP applications?

The best way to evaluate segmentation bottlenecks is running automated cross-tool benchmarks on kham-core, nlpo3, and PyThaiNLP. The generated mean, p50, and p99 timing statistics pinpoint speed regressions and stability issues across diverse Thai text inputs.