fix:(conv/j2t) not recurse in tb_write_default_or_empty to avoid dead-looping on cycle-referred struct
#422
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: Benchmark Linux-X64 | |
| on: [ push, pull_request ] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| go-version: [1.20.x] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Go | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - uses: actions/cache@v2 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
| restore-keys: | | |
| ${{ runner.os }}-go- | |
| - name: Testdata | |
| run: | | |
| cd testdata/test | |
| go test -race -v ./... | |
| - name: Benchmark | |
| run: | | |
| cd testdata/test | |
| go test -benchmem -run=^$ -bench . |