- Updating Device Data
- HTTP & Express
- Useful Links
- Supported Versions
This page provides guidance figures for detection speeds, memory usage and startup times for Pattern and Trie algorithms. Pattern is more memory efficient and can be run directly from disk while Trie requires considerably more main memory but delivers millions of detections per second. For more information check out the how device detection works page.
Results stated are detections per core on a quad core i7 2.2GHz CPU.
Below is a table of performance metrics relating to the Node.js Pattern API. It shows the detection speed for a single request for each data set and where applicable also the mode of operation used.
|Detections Per Second||19323||17137||16474|
|Time Per Detection (ms)||0.0517||0.0583||0.0607|
|Startup Time (ms)||60||209||204|
|Average Memory Usage (Mb)||66||127||155|
Hash Trie Benchmarks
Below is a table of performance metrics relating to the NodeJs Hash Trie API. It shows the detection speed for a single request for each data set and where applicable also the mode of operation used.
|Detections Per Second||234,611||234,691|
|Time Per Detection (ms)||0.004263||0.004261|
|Startup Time (ms)||63||79|
|Average Memory Usage (Mb)||116||142|