mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-23 15:27:24 +08:00

Results after 14908322a93b55e8aec87a0880b3a9768508f601, compared to 3.1.2: math.fish fish rusage self: user time: 916 ms sys time: 39 ms total time: 955 ms max rss: 35028 kb signals: 0 build/fish rusage self: user time: 769 ms sys time: 60 ms total time: 829 ms max rss: 34868 kb signals: 0 Benchmark #1: fish benchmarks/benchmarks/math.fish > /dev/null Time (mean ± σ): 955.2 ms ± 32.5 ms [User: 897.2 ms, System: 57.9 ms] Range (min … max): 896.3 ms … 1002.5 ms 10 runs Benchmark #2: build/fish benchmarks/benchmarks/math.fish > /dev/null Time (mean ± σ): 840.3 ms ± 21.5 ms [User: 784.4 ms, System: 54.8 ms] Range (min … max): 802.4 ms … 869.0 ms 10 runs Summary 'build/fish benchmarks/benchmarks/math.fish > /dev/null' ran 1.14 ± 0.05 times faster than 'fish benchmarks/benchmarks/math.fish > /dev/null'
4 lines
43 B
Fish
4 lines
43 B
Fish
for i in (seq 100000)
|
|
math $i + $i
|
|
end
|