json2: add markused to encode_sumtype_time_variant #175
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
| name: json decoder benchmark CI | |
| on: | |
| push: | |
| paths: | |
| - 'vlib/x/json2/**' # Trigger on changes in this folder | |
| jobs: | |
| json-encode-benchmark: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Build V | |
| run: make -j4 && ./v symlink | |
| - name: Run V benchmark and save output | |
| run: (echo '```txt'; v -prod crun vlib/x/json2/tests/bench.v; echo '```') > vlib/x/json2/tests/bench_out.md | |
| - name: Upload result file | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: program-output | |
| path: vlib/x/json2/tests/bench_out.md |