Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start benchmark after a warmup #23

Merged
merged 1 commit into from
Nov 2, 2024
Merged

start benchmark after a warmup #23

merged 1 commit into from
Nov 2, 2024

Conversation

geseq
Copy link
Owner

@geseq geseq commented Nov 2, 2024

No description provided.

Copy link

github-actions bot commented Nov 2, 2024

Go Test Results

25 tests  ±0   25 ✅ ±0   1s ⏱️ ±0s
 4 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 27ecf7a. ± Comparison against base commit 8df1672.

Copy link

github-actions bot commented Nov 2, 2024

Benchmark Comparison

PR Benchmarks:
goos: linux
goarch: amd64
pkg: github.com/geseq/orderbook
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkLatency
    benchmark_test.go:186: Operation: AddOrder
    benchmark_test.go:189: 50: 118.870840 ns
    benchmark_test.go:189: 75: 125.511322 ns
    benchmark_test.go:189: 90: 129.495612 ns
    benchmark_test.go:189: 95: 144.354563 ns
    benchmark_test.go:189: 99: 296.346856 ns
    benchmark_test.go:189: 99.9: 2241.354607 ns
    benchmark_test.go:189: 99.99: 3941.933659 ns
    benchmark_test.go:189: 99.9999: 55670.377360 ns
    benchmark_test.go:189: 100: 729676.000000 ns
    benchmark_test.go:186: Operation: CancelOrder
    benchmark_test.go:189: 50: 19.387858 ns
    benchmark_test.go:189: 75: 19.724864 ns
    benchmark_test.go:189: 90: 19.927068 ns
    benchmark_test.go:189: 95: 19.994470 ns
    benchmark_test.go:189: 99: 37.688592 ns
    benchmark_test.go:189: 99.9: 49.072097 ns
    benchmark_test.go:189: 99.99: 85.996141 ns
    benchmark_test.go:189: 99.9999: 17635.698324 ns
    benchmark_test.go:189: 100: 61485.000000 ns
BenchmarkLatency-4      	       1	       150.0 ns/op	   6665577 ops/sec	8225714904 B/op	709037581 allocs/op
BenchmarkThroughput
BenchmarkThroughput-4   	       1	        72.16 ns/op	  13858381 ops/sec	2962847976 B/op	61179692 allocs/op
PASS
ok  	github.com/geseq/orderbook	54.182s
?   	github.com/geseq/orderbook/cmd/bench	[no test files]
?   	github.com/geseq/orderbook/pkg/pool	[no test files]
?   	github.com/geseq/orderbook/pkg/tree	[no test files]


Main Benchmarks:
goos: linux
goarch: amd64
pkg: github.com/geseq/orderbook
cpu: AMD EPYC 7763 64-Core Processor                
BenchmarkLatency
    benchmark_test.go:157: Operation: AddOrder
    benchmark_test.go:160: 50: 118.027866 ns
    benchmark_test.go:160: 75: 124.975142 ns
    benchmark_test.go:160: 90: 129.143508 ns
    benchmark_test.go:160: 95: 141.535218 ns
    benchmark_test.go:160: 99: 294.789232 ns
    benchmark_test.go:160: 99.9: 2176.207198 ns
    benchmark_test.go:160: 99.99: 3895.188167 ns
    benchmark_test.go:160: 99.9999: 64903.617020 ns
    benchmark_test.go:160: 100: 470997.000000 ns
    benchmark_test.go:157: Operation: CancelOrder
    benchmark_test.go:160: 50: 19.406110 ns
    benchmark_test.go:160: 75: 19.735536 ns
    benchmark_test.go:160: 90: 19.933192 ns
    benchmark_test.go:160: 95: 19.999078 ns
    benchmark_test.go:160: 99: 37.501512 ns
    benchmark_test.go:160: 99.9: 49.103128 ns
    benchmark_test.go:160: 99.99: 85.561983 ns
    benchmark_test.go:160: 99.9999: 17596.206896 ns
    benchmark_test.go:160: 100: 84316.000000 ns
BenchmarkLatency-4      	       1	       149.7 ns/op	   6681160 ops/sec	8187740424 B/op	714290120 allocs/op
BenchmarkThroughput
BenchmarkThroughput-4   	       1	        70.17 ns/op	  14251166 ops/sec	2962847896 B/op	61179692 allocs/op
PASS
ok  	github.com/geseq/orderbook	53.038s
?   	github.com/geseq/orderbook/cmd/bench	[no test files]
?   	github.com/geseq/orderbook/pkg/pool	[no test files]
?   	github.com/geseq/orderbook/pkg/tree	[no test files]

@geseq geseq merged commit 3b9e9cd into main Nov 2, 2024
3 checks passed
@geseq geseq deleted the ci branch November 2, 2024 10:39
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