HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
sharkdp
hyperfine
Rust2018–2024
sharkdp / hyperfine

hyperfine

A command-line benchmarking tool

26Distinct people
35Mentions
1Explicit recommenders
29.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A command-line benchmarking tool

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

1) Did you take frequency scaling into consideration while benchmarking? 2) v8 doesn't make your code blazing fast by default. It has many optimizations but your code may be…

29athrowaway used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 12:03:30 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year35 dated mentions

Observed mentions: 2018-01-20 13:18:30 UTC to 2024-11-19 17:57:03 UTC.

0510152018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 4 mentions; 1 submissions, 3 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 5 mentions; 2 submissions, 3 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 6 mentions; 2 submissions, 4 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 13 mentions; 2 submissions, 11 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC413
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC523
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC211
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC312
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC624
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC13211

What Hacker News says

2 sources
I took it for a ride They all list all files recursively in a sync fashion, from the node_modules dir (like in the benchmark), excluding dirs, and print a total count. Here are the results calculated with hyperfine (https://github.com/sharkdp/hyperfine): hyperfine "bash test.sh" --warmup 5 Benchmark #1: bash test.sh Time (mean ± σ): 7.5 ms ± 0.5 ms [User: 4.5 ms, System: 4.2 ms] Range (min … max): 6.9 ms … 10.5 ms 332 runs hyperfine "perl test.pl" --warmup 5 Benchmark #1: perl test.pl Time (mean ± σ): 25.6 ms ± 1.2 ms [User: 16.8 ms, System: 8.8 ms] Range (min … max): 24.0 ms … 30.8 ms 97 runs hyperfine "python3.7 test.py" --warmup 5 Benchmark #1: python3.7 test.py Time (mean ± σ): 43.4 ms ± 1.4 ms [User: 32.6 ms, System: 10.9 ms] Range (min …
Read the rest
max): 40.9 ms … 46.8 ms 66 runs hyperfine "ruby test.rb" --warmup 5 Benchmark #1: ruby test.rb Time (mean ± σ): 66.5 ms ± 2.0 ms [User: 52.1 ms, System: 14.4 ms] Range (min … max): 63.2 ms … 70.3 ms 42 runs hyperfine "node test.js" --warmup 5 Benchmark #1: node test.js Time (mean ± σ): 83.7 ms ± 4.0 ms [User: 74.7 ms, System: 15.6 ms] Range (min … max): 79.4 ms … 95.3 ms 36 runs Here are the results of an hello world with each runtime for comparison: hyperfine "bash test.sh" --warmup 5 Benchmark #1: bash test.sh Time (mean ± σ): 1.2 ms ± 0.3 ms [User: 1.1 ms, System: 0.3 ms] Range (min … max): 0.9 ms … 3.8 ms 1521 runs hyperfine "perl test.pl" --warmup 5 Benchmark #1: perl test.pl Time (mean ± σ): 1.3 ms ± 0.3 ms [User: 1.3 ms, System: 0.3 ms] Range (min … max): 1.0 ms … 5.3 ms 1103 runs hyperfine "python3.7 test.py" --warmup 5 Benchmark #1: python3.7 test.py Time (mean ± σ): 19.5 ms ± 0.9 ms [User: 16.2 ms, System: 3.4 ms] Range (min … max): 18.3 ms … 23.7 ms 144 runs hyperfine "ruby test.rb" --warmup 5 Benchmark #1: ruby test.rb Time (mean ± σ): 55.2 ms ± 2.2 ms [User: 47.2 ms, System: 8.1 ms] Range (min … max): 52.2 ms … 61.9 ms 51 runs hyperfine "node test.js" --warmup 5 Benchmark #1: node test.js Time (mean ± σ): 55.4 ms ± 1.8 ms [User: 49.5 ms, System: 7.0 ms] Range (min … max): 53.0 ms … 60.0 ms 53 runs Now, my machine is not setup for a clean benchmark. The disk cache is warmed up. Hyperthreading is on. Other softwares are running. Plus the scripts all found a slightly different number of files :) I suspect they all treat symlinks/dotted dirs differently, and I didn't take the time to normalize. Although I don't think this makes up for the difference. Still the result is a bit interesting. The non JS tests are not using any 3rd party libs. Ruby and Node seems to have the same cost for VM startup. I'm quite surprised that node is last frankly, especially on a uber optimized code. I'm expecting V8 code to be blazing fast as it's Google made and C++.
In Show HN: Fdir – Faster Node.js glob alternative

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.