Skip to content

chore: test new benchcheck interface.#1618

Closed
i4ki wants to merge 1 commit into
mainfrom
i4k-update-benchcheck
Closed

chore: test new benchcheck interface.#1618
i4ki wants to merge 1 commit into
mainfrom
i4k-update-benchcheck

Conversation

@i4ki
Copy link
Copy Markdown
Contributor

@i4ki i4ki commented Apr 5, 2024

What this PR does / why we need it:

Test madlambda/benchcheck#14

Which issue(s) this PR fixes:

none

Special notes for your reviewer:

Does this PR introduce a user-facing change?

no

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 5, 2024

👷 Deploy Preview for docs-terramate-io processing.

Name Link
🔨 Latest commit ac1c96f
🔍 Latest deploy log https://app.netlify.com/sites/docs-terramate-io/deploys/660fb6588b80050008639319

@i4ki i4ki force-pushed the i4k-update-benchcheck branch from d0010e7 to 1bea563 Compare April 5, 2024 01:11
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 5, 2024

go run github.com/madlambda/benchcheck/cmd/benchcheck@customize-bench-runner -mod github.com/terramate-io/terramate -old main -new ac1c96f0a4bb1b235908d19a635de57913cf420d \
	-check allocs/op="+20%" \
	-check time/op="+20%" \
	go test -benchmem -count=20 -run=Bench -bench=. ./...	
metric: time/op
CloudReadLines-4: old 915µs ± 3%: new 924µs ± 5%: delta: 0.00%
CloudReadLine-4: old 7.04ms ± 7%: new 6.92ms ± 4%: delta: 0.00%
ListFiles-4: old 53.4µs ± 1%: new 54.1µs ± 3%: delta: 0.00%
Generate-4: old 2.66s ± 4%: new 2.69s ± 3%: delta: 0.00%
GenerateRegex-4: old 1.71s ± 1%: new 1.77s ±12%: delta: 0.00%
TokensForExpressionComplex-4: old 1.26ms ± 0%: new 1.26ms ± 0%: delta: 0.00%
TokensForExpressionPlainStringNoNewline-4: old 893ns ± 0%: new 895ns ± 1%: delta: 0.00%
TokensForExpressionStringWith100Newlines-4: old 22.4µs ± 0%: new 22.6µs ± 2%: delta: 0.00%
TokensForExpressionObjectWith100KeysWithNumberValues-4: old 1.46ms ± 1%: new 1.47ms ± 1%: delta: 0.00%
TokensForExpression-4: old 1.27ms ± 1%: new 1.27ms ± 1%: delta: 0.00%
PartialEvalComplex-4: old 441µs ± 2%: new 439µs ± 1%: delta: 0.00%
PartialEvalSmallString-4: old 3.76µs ± 2%: new 3.72µs ± 1%: delta: 0.00%
PartialEvalHugeString-4: old 1.86ms ± 1%: new 1.87ms ± 4%: delta: 0.00%
PartialEvalHugeInterpolatedString-4: old 5.09ms ± 4%: new 4.96ms ± 1%: delta: 0.00%
PartialEvalObject-4: old 22.3µs ± 0%: new 22.1µs ± 1%: delta: 0.00%
TmAllTrueLiteralList-4: old 6.27ms ± 0%: new 6.27ms ± 0%: delta: 0.00%
TmAllTrueFuncall-4: old 161µs ± 1%: new 161µs ± 2%: delta: 0.00%
TmAnyTrueLiteralList-4: old 147ms ± 0%: new 148ms ± 3%: delta: 0.00%
TmAnyTrueFuncall-4: old 163µs ± 4%: new 161µs ± 0%: delta: 0.00%
TmTernary-4: old 2.87µs ± 3%: new 2.84µs ± 2%: delta: 0.00%
TmTry-4: old 51.8µs ± 0%: new 51.8µs ± 0%: delta: 0.00%
metric: alloc/op
CloudReadLines-4: old 3.12MB ± 0%: new 3.12MB ± 0%: delta: 0.00%
CloudReadLine-4: old 3.37MB ± 0%: new 3.37MB ± 0%: delta: 0.00%
metric: allocs/op
CloudReadLines-4: old 5.54k ± 0%: new 5.54k ± 0%: delta: 0.00%
CloudReadLine-4: old 60.0k ± 0%: new 60.0k ± 0%: delta: 0.00%

@i4ki i4ki force-pushed the i4k-update-benchcheck branch 2 times, most recently from 8a4cb64 to f1c492c Compare April 5, 2024 01:57
@i4ki i4ki force-pushed the i4k-update-benchcheck branch from f1c492c to ac1c96f Compare April 5, 2024 08:29
@i4ki i4ki closed this Apr 5, 2024
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.

1 participant