Skip to content

Benchmark on Intel Core i5 13400F and NVIDIA GeForce RTX 4070

The following benchmarks were conducted using an Intel Core i5 13400F and NVIDIA GeForce RTX 4070. The index size is represented in kilobytes, while all other metrics are measured in milliseconds (ms).

These benchmarks illustrate the performance trade-offs among the different index types. While HybridTrieBigramInvertedIndex is faster, it comes at the cost of higher indexing time and reduced search accuracy. Meanwhile, GPULinearIndex provides a substantial speed boost while maintaining accuracy, making it a viable option for environments with GPU support.

For optimal performance, select the index type that best fits your application’s needs.

Text SizeLinearGPUBigram
5380.440.440.06
8290.660.680.06
17121.281.310.07
30012.222.250.08
37482.752.710.09

Text SizeLinearGPUBigram
53810.744.620.16
82916.544.670.21
171234.055.210.28
300159.284.840.41
374874.106.170.42

Text SizeLinearGPUBigram
4763.264.160.10
7895.164.580.10
13058.644.790.15
239415.365.450.18
302020.074.240.19

Text SizeLinearGPUBigram
53846.6842.76106.06
82967.9265.52165.12
1712138.18132.00368.06
3001230.44226.46646.16
3748287.44286.18821.26

Text SizeLinearGPUBigram
53819119191
829294294131
1712607607247
300110581058411
374813241324506

Text SizeLinearGPUBigram
476165165136
789272272229
1305452452366
2394837837644
302010531053813