Skip to content

Add jsonlexer to benchmarks#7

Open
nmhancock wants to merge 1 commit intodtgorski:masterfrom
nmhancock:master
Open

Add jsonlexer to benchmarks#7
nmhancock wants to merge 1 commit intodtgorski:masterfrom
nmhancock:master

Conversation

@nmhancock
Copy link
Copy Markdown

It had pretty competitive performance

Comment thread bench/jsonlexer_test.go
)

func Benchmark_jsonlexer_lexer_2kB(b *testing.B) {
runLexer(b, "../testdata/2kB.json")
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

runLexer != runJsonLexer ;)

Comment thread go.mod

go 1.14

require github.com/brimdata/zed v1.4.0
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Introducing dependencies just for the sake of comparing them is not the best idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants