| Data set size | Kd-tree Creation time | Point query time | Kd-tree Creation time* | Point query time* |
| 100,000 | 45.57 ms | 13.997 ms | 6.10 ms | 9.552 ms |
| 200,000 | 94.79 ms | 17.213 ms | 16.24 ms | 10.105 ms |
| 427,645 | 216.85 ms | 20.289 ms | 24.47 ms | 11.056 ms |
| 500,000 | 260.10 ms | 20.187 ms | 45.32 ms | 11.105 ms |
| 533,652 | 270.34 ms | 20.753 ms | 34.74 ms | 11.168 ms |
| 1,000,000 | 539.75 ms | 22.244 ms | 88.57 ms | 12.388 ms |
| 2,000,000 | 1,139.76 ms | 24.487 ms | 129.44 ms | 13.943 ms |
| 3,599,600 | 2208.38 ms | 25.700 ms | 239.27 ms | 14.897 ms |
| 5,000,000 | 3,108.70 ms | 26.766 ms | 334.09 ms | 15.548 ms |
| 10,000,000 | 6,670.60 ms | 29.118 ms | 688.19 ms | 16.767 ms |
| 14,017,872 | 9,610.97 ms | 29.756 ms | 1,014.51 ms | 17.386 ms |
| 20,000,000 | 13,617.00 ms | 30.769 ms | 1,417.79 ms | 18.120 ms |
| 50,000,000 | 36,289.70 ms | 33.340 ms | 3,782.70 ms | 19.586 ms |
| 100,000,000 | 74,792.70 ms | 35.694 ms | 7,538.09 ms | 21.344 ms |
| 184,088,599 | 143,047.00 ms | 41.705 ms | 14,559.00 ms | 22.306 ms |
| 200,000,000 | 158,897.00 ms | 42.690 ms | 15,649.60 ms | 22.616 ms |
|
| Table 1: Timing results for several artificial 3D data sets. All times are in milliseconds; the query times are the total times for performing 10,000 nearest-neighbor queries on randomly selected points from the source data set, removed before kd-tree creation. The data set sizes are the numbers of points after the 10,000 query points were removed. All times are wall-clock times, measured on a dual-CPU 2.2 GHz AMD Opteron with 8 GB of main memory (the algorithm is single-threaded and uses only one CPU). The starred times in the two rightmost columns are results from a newer computer, with a quad-core 2.67 GHz Intel i7 (Nehalem) CPU with 6 GB of main memory, using a new eight-way multithreaded kd-tree creation algorithm, and the same single-threaded query algorithm. |