File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 43
43
working-directory : benchmarks
44
44
run : |
45
45
bundle install
46
- time THREADS=4 bundle exec ruby multi_thread_comporess.rb city.json
47
- time THREADS=4 bundle exec ruby multi_thread_decomporess.rb city.json
48
- time THREADS=4 bundle exec ruby multi_thread_streaming_comporess.rb city.json
49
- time THREADS=4 bundle exec ruby multi_thread_streaming_decomporess.rb city.json
46
+ time -f "real %e\nuser %U\nsys %S" THREADS=4 bundle exec ruby multi_thread_comporess.rb city.json
47
+ time -f "real %e\nuser %U\nsys %S" THREADS=4 bundle exec ruby multi_thread_decomporess.rb city.json
48
+ time -f "real %e\nuser %U\nsys %S" THREADS=4 bundle exec ruby multi_thread_streaming_comporess.rb city.json
49
+ time -f "real %e\nuser %U\nsys %S" THREADS=4 bundle exec ruby multi_thread_streaming_decomporess.rb city.json
50
50
bundle exec ruby large_bytes.rb
Original file line number Diff line number Diff line change 4
4
5
5
# source_data = ""
6
6
# 512.times { source_data += SecureRandom.uuid }
7
- source_data = Random . bytes ( 1 <<17 + 15 )
7
+ source_data = Random . bytes ( 1 <<16 + 15 )
8
8
9
9
puts "source_data.size:#{ source_data . size } "
10
10
You can’t perform that action at this time.
0 commit comments