We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14bb025 commit a9a94b8Copy full SHA for a9a94b8
.github/workflows/bench.yml
@@ -0,0 +1,30 @@
1
+name: Bench
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+ pull_request:
9
10
+jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+ name: Benchmarks
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ with:
17
+ submodules: true
18
+ - name: Set up Ruby
19
+ uses: ruby/setup-ruby@v1
20
21
+ ruby-version: '3.1.0'
22
+ bundler-cache: true
23
+ - name: Compile
24
+ run: bundle exec rake compile
25
+ - name: Encoder benchmark
26
+ run: bundle exec ruby benchmark/encoder.rb
27
+ - name: Parser benchmark
28
+ run: bundle exec ruby benchmark/parser.rb
29
+ - name: Valiate benchmark
30
+ run: bundle exec ruby benchmark/validate.rb
0 commit comments