Last active
June 17, 2025 15:34
-
-
Save instance-id/453cb15c3c31b4d7fec91ed1bb596ccb to your computer and use it in GitHub Desktop.
Comparing execution time of dotnet run vs. other scripting languages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zsh ❯ hyperfine --warmup 3 ./hello.sh | |
Benchmark 1: ./hello.sh | |
Time (mean ± σ): 814.4 µs ± 136.0 µs [User: 351.0 µs, System: 443.0 µs] | |
Range (min … max): 620.3 µs … 2240.3 µs 2548 runs | |
zsh ❯ hyperfine --warmup 3 ./hello.pl | |
Benchmark 1: ./hello.pl | |
Time (mean ± σ): 1.4 ms ± 0.2 ms [User: 0.4 ms, System: 1.1 ms] | |
Range (min … max): 1.1 ms … 2.2 ms 1461 runs | |
zsh ❯ hyperfine --warmup 3 ./hello.py | |
Benchmark 1: ./hello.py | |
Time (mean ± σ): 71.8 ms ± 3.1 ms [User: 34.7 ms, System: 39.8 ms] | |
Range (min … max): 67.0 ms … 79.1 ms 39 runs | |
zsh ✗ hyperfine --warmup 3 ./hello.ps1 | |
Benchmark 1: ./hello.ps1 | |
Time (mean ± σ): 158.9 ms ± 11.7 ms [User: 142.4 ms, System: 74.1 ms] | |
Range (min … max): 148.5 ms … 196.1 ms 18 runs | |
zsh ❯ hyperfine --warmup 3 ./hello.cs | |
Benchmark 1: ./hello.cs | |
Time (mean ± σ): 300.0 ms ± 7.7 ms [User: 229.1 ms, System: 59.2 ms] | |
Range (min … max): 289.9 ms … 314.4 ms 10 runs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment