jsonbb 0.2.3

A binary representation of json value, optimized for parsing and querying.
Documentation
name: Benchmark
on:
  push:
    branches:
      - main

permissions:
  contents: write
  deployments: write

jobs:
  benchmark:
    name: Run benchmark
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Get data
        run: |
          mkdir -p benches/data
          wget -P benches/data https://github.com/datafuselabs/jsonb/raw/94e018874b63eb4afb175e4fdcc8397ac141f6a7/data/canada.json
          wget -P benches/data https://github.com/datafuselabs/jsonb/raw/94e018874b63eb4afb175e4fdcc8397ac141f6a7/data/citm_catalog.json
          wget -P benches/data https://github.com/datafuselabs/jsonb/raw/94e018874b63eb4afb175e4fdcc8397ac141f6a7/data/twitter.json
      - name: Run benchmark
        run: cargo bench --bench bench -- --output-format bencher jsonbb | tee output.txt

      - name: Store benchmark result
        uses: benchmark-action/github-action-benchmark@v1
        with:
          name: Rust Benchmark
          tool: 'cargo'
          output-file-path: output.txt
          github-token: ${{ secrets.GITHUB_TOKEN }}
          auto-push: true
          # Show alert with commit comment on detecting possible performance regression
          alert-threshold: '200%'
          comment-on-alert: true
          fail-on-alert: true
          alert-comment-cc-users: '@wangrunji0408'