k-NN inference
ml · machine_learning
Find the nearest training example to a query point using squared Euclidean distance.
🏆 Winner
codon-system with a warm median of 0.0176 ms — 6.22x faster than cpython-system (83.9% quicker)
Adapter Comparison
Latest Results by Adapter
| Adapter | Warm median ms | Warm mean ms | Cold median ms | Success |
|---|---|---|---|---|
| codon-system 🏆 | 0.0176 | 0.0191 | 0.0253 | 100% |
| cpython-system | 0.1097 | 0.1101 | 0.2544 | 100% |
| pyvorin-project-venv | 0.1134 | 0.1112 | 1.6784 | 100% |
| graalpy-system | 0.2657 | 0.3156 | 0.3082 | 100% |
| pypy3-system | 0.7282 | 0.7607 | 0.1747 | 100% |
Trend Series
Recent Snapshots
| Recorded at | Adapter | Parameter set | Warm median ms | Success rate |
|---|---|---|---|---|
| 2026-07-19 12:39:15.201039 | pyvorin-project-venv | small | 0.1134 | 100% |
| 2026-07-19 12:34:20.423939 | pypy3-system | small | 0.7282 | 100% |
| 2026-07-19 12:33:39.002101 | graalpy-system | small | 0.2657 | 100% |
| 2026-07-19 12:30:56.334218 | cpython-system | small | 0.1097 | 100% |
| 2026-07-19 12:29:37.933936 | codon-system | small | 0.0176 | 100% |
| 2026-07-19 09:17:44.604087 | pyvorin-project-venv | small | 0.1064 | 100% |
| 2026-07-19 09:12:59.132348 | pypy3-system | small | 0.7436 | 100% |
| 2026-07-19 09:12:18.827893 | graalpy-system | small | 0.3422 | 100% |
| 2026-07-19 09:08:40.782621 | cpython-system | small | 0.1037 | 100% |
| 2026-07-19 09:05:33.027220 | pypy3-system | small | 0.7842 | 100% |
| 2026-07-19 09:04:51.969469 | graalpy-system | small | 0.2442 | 100% |
| 2026-07-19 09:02:15.091972 | cpython-system | small | 0.1125 | 100% |
| 2026-07-19 09:00:48.937507 | codon-system | small | 0.0000 | 0% |
| 2026-07-19 08:03:32.930299 | pyvorin-project-venv | small | 0.1344 | 83% |
| 2026-07-19 07:56:44.439175 | cpython-system | small | 0.1047 | 100% |
| 2026-07-19 07:46:57.874469 | pyvorin-project-venv | small | 0.1060 | 100% |
| 2026-07-19 07:43:34.934645 | cpython-system | small | 0.1064 | 100% |
| 2026-07-19 01:08:37.767585 | pyvorin-project-venv | small | 0.1333 | 100% |
| 2026-07-19 01:05:29.223569 | cpython-system | small | 0.1034 | 100% |
| 2026-07-19 00:53:31.203255 | pyvorin-project-venv | small | 0.1360 | 100% |
| 2026-07-19 00:50:21.196901 | cpython-system | small | 0.1069 | 100% |
| 2026-07-19 00:43:38.804772 | pyvorin-project-venv | small | 0.1414 | 100% |
| 2026-07-19 00:40:28.870229 | cpython-system | small | 0.1101 | 100% |
| 2026-07-19 00:30:42.977310 | pyvorin-project-venv | small | 0.1400 | 100% |
| 2026-07-19 00:27:30.533370 | cpython-system | small | 0.1159 | 100% |