Skip to content

Commit 299b01e

Browse files
authored
Remove sample results and notes from perf.md
Removed sample benchmark results and notes from performance documentation.
1 parent 1a6ab5b commit 299b01e

1 file changed

Lines changed: 0 additions & 60 deletions

File tree

docs/perf.md

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -72,63 +72,3 @@ BenchmarkNearest_10k_4D_Gonum_Uniform-8 50000 12,300 ns/op 0 B/op 0 alloc
7272
- Local (Gonum): `go test -tags=gonum -bench . -benchmem -run=^$ ./...`
7373
- CI artifacts: download `bench-linear.txt` and `bench-gonum.txt` from the latest workflow run.
7474
- Optional: add historical trend graphs via Benchstat or Codecov integration.
75-
76-
## Sample results (from a recent local run)
77-
78-
Results vary by machine, Go version, and dataset seed. The following run was captured locally and is provided as a reference point.
79-
80-
- Machine: darwin/arm64, Apple M3 Ultra
81-
- Package: `github.com/Snider/Poindexter`
82-
- Command: `go test -bench . -benchmem -run=^$ ./... | tee bench.txt`
83-
84-
Full output:
85-
86-
```
87-
goos: darwin
88-
goarch: arm64
89-
pkg: github.com/Snider/Poindexter
90-
BenchmarkNearest_Linear_Uniform_1k_2D-32 409321 3001 ns/op 0 B/op 0 allocs/op
91-
BenchmarkNearest_Gonum_Uniform_1k_2D-32 413823 2888 ns/op 0 B/op 0 allocs/op
92-
BenchmarkNearest_Linear_Uniform_10k_2D-32 43053 27809 ns/op 0 B/op 0 allocs/op
93-
BenchmarkNearest_Gonum_Uniform_10k_2D-32 42996 27936 ns/op 0 B/op 0 allocs/op
94-
BenchmarkNearest_Linear_Uniform_1k_4D-32 326492 3746 ns/op 0 B/op 0 allocs/op
95-
BenchmarkNearest_Gonum_Uniform_1k_4D-32 338983 3857 ns/op 0 B/op 0 allocs/op
96-
BenchmarkNearest_Linear_Uniform_10k_4D-32 35661 32985 ns/op 0 B/op 0 allocs/op
97-
BenchmarkNearest_Gonum_Uniform_10k_4D-32 35678 33388 ns/op 0 B/op 0 allocs/op
98-
BenchmarkNearest_Linear_Clustered_1k_2D-32 425220 2874 ns/op 0 B/op 0 allocs/op
99-
BenchmarkNearest_Gonum_Clustered_1k_2D-32 420080 2849 ns/op 0 B/op 0 allocs/op
100-
BenchmarkNearest_Linear_Clustered_10k_2D-32 43242 27776 ns/op 0 B/op 0 allocs/op
101-
BenchmarkNearest_Gonum_Clustered_10k_2D-32 42392 27889 ns/op 0 B/op 0 allocs/op
102-
BenchmarkKNN10_Linear_Uniform_10k_2D-32 1206 977599 ns/op 164492 B/op 6 allocs/op
103-
BenchmarkKNN10_Gonum_Uniform_10k_2D-32 1239 972501 ns/op 164488 B/op 6 allocs/op
104-
BenchmarkKNN10_Linear_Clustered_10k_2D-32 1219 973242 ns/op 164492 B/op 6 allocs/op
105-
BenchmarkKNN10_Gonum_Clustered_10k_2D-32 1214 971017 ns/op 164488 B/op 6 allocs/op
106-
BenchmarkRadiusMid_Linear_Uniform_10k_2D-32 1279 917692 ns/op 947529 B/op 23 allocs/op
107-
BenchmarkRadiusMid_Gonum_Uniform_10k_2D-32 1299 918176 ns/op 947529 B/op 23 allocs/op
108-
BenchmarkRadiusMid_Linear_Clustered_10k_2D-32 1059 1123281 ns/op 1217866 B/op 24 allocs/op
109-
BenchmarkRadiusMid_Gonum_Clustered_10k_2D-32 1063 1149507 ns/op 1217871 B/op 24 allocs/op
110-
BenchmarkNearest_1k_2D-32 401595 2964 ns/op 0 B/op 0 allocs/op
111-
BenchmarkNearest_10k_2D-32 42129 28229 ns/op 0 B/op 0 allocs/op
112-
BenchmarkNearest_1k_4D-32 365626 3642 ns/op 0 B/op 0 allocs/op
113-
BenchmarkNearest_10k_4D-32 36298 33176 ns/op 0 B/op 0 allocs/op
114-
BenchmarkKNearest10_1k_2D-32 20348 59568 ns/op 17032 B/op 6 allocs/op
115-
BenchmarkKNearest10_10k_2D-32 1224 969093 ns/op 164488 B/op 6 allocs/op
116-
BenchmarkRadiusMid_1k_2D-32 21867 53273 ns/op 77512 B/op 16 allocs/op
117-
BenchmarkRadiusMid_10k_2D-32 1302 933791 ns/op 955720 B/op 23 allocs/op
118-
PASS
119-
ok github.com/Snider/Poindexter 40.102s
120-
PASS
121-
ok github.com/Snider/Poindexter/examples/dht_ping_1d 0.348s
122-
PASS
123-
ok github.com/Snider/Poindexter/examples/kdtree_2d_ping_hop 0.266s
124-
PASS
125-
ok github.com/Snider/Poindexter/examples/kdtree_3d_ping_hop_geo 0.272s
126-
PASS
127-
ok github.com/Snider/Poindexter/examples/kdtree_4d_ping_hop_geo_score 0.269s
128-
```
129-
130-
Notes:
131-
- The first block shows dual-backend benchmarks (Linear vs Gonum) for uniform and clustered datasets at 2D/4D with N=1k/10k.
132-
- The final block includes the legacy single-backend benchmarks for additional sizes; both are useful for comparison.
133-
134-
To compare against the optimized KD backend explicitly, build with `-tags=gonum` and/or download `bench-gonum.txt` from CI artifacts.

0 commit comments

Comments
 (0)