Skip to content

Commit e2dd834

Browse files
authored
Merge pull request #606 from byroot/revamp-benchmarks
Revamp the benchmark suite
2 parents c372dc9 + d826daa commit e2dd834

File tree

9 files changed

+66063
-1259
lines changed

9 files changed

+66063
-1259
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ jobs:
5252
# only needed for Ruby 2.3
5353
mingw: ragel
5454

55-
- run: bundle install
55+
- run: |
56+
bundle config --without benchmark
57+
bundle install
5658
5759
- run: rake compile
5860

Gemfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,11 @@ gem "rake"
1717
gem "test-unit"
1818
gem "test-unit-ruby-core"
1919
gem "all_images", "~> 0" unless RUBY_PLATFORM =~ /java/
20-
gem "benchmark-ips"
20+
21+
group :benchmark do
22+
gem "benchmark-ips"
23+
unless RUBY_PLATFORM =~ /java/
24+
gem "oj"
25+
gem "rapidjson"
26+
end
27+
end

benchmark/data/canada.json

Lines changed: 9 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)