Benchmarker: Add a CLI param to set N
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- cli, performance
Research direction
Start with benchmarks/bench.h at the partialsort cases linked in the issue and inspect how benchmark command-line arguments are currently handled. Add a way to set ARRSIZE/N from the CLI, then verify that the partialsort benchmark can run with values such as N=100000 and small k values.
Written by the indexing model from the issue text.
Description
As today the benchmarker benchs 4 cases of partialsort:
MY_BENCHMARK_CAPTURE(func, type, k10, 10000, 10); \
MY_BENCHMARK_CAPTURE(func, type, k100, 10000, 100); \
MY_BENCHMARK_CAPTURE(func, type, k1000, 10000, 1000); \
MY_BENCHMARK_CAPTURE(func, type, k5000, 10000, 5000);
https://github.com/intel/x86-simd-sort/blob/87486d17a7d916f2992800b0219e28d0af29e765/benchmarks/bench.h#L52
For LLM inference the values are more extreme: N (vocab size) = 100000 or more, and k could be even smaller than 10.
Would you mind if I add a CLI arg to set at least N (ARRSIZE) ?
- Dominant language
- C++
- Stars
- 1k
- Forks
- 79
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from numpy/x86-simd-sort
-
check_cpu_feature_support makes repeated/unnecessary calls to std::getenv("XSS_DISABLE_AVX512")Open
Difficulty 1/5 Under an hour Newbie friendliness 84/100
numpy/x86-simd-sort#239 · 1 comment ·
-
v8.0 release?Open
Difficulty 2/5 1-3 hours Newbie friendliness 43/100
numpy/x86-simd-sort#248 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
numpy/x86-simd-sort#221 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 32/100
numpy/x86-simd-sort#210 · 13 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
numpy/x86-simd-sort#189 · 8 comments ·
All issues in numpy/x86-simd-sort
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 2 days
-
Missing repro Platform: Android
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
software-mansion/react-native-reanimated#11554 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Niko1221/Strata#7211 · 3 comments ·
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
sleepyviper1213/redis#52 ·