• About Us
  • Blog
  • Basket
  • Account
  • Sign In
  •  

Node.js API

Benchmarks

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.

Pattern Benchmarks

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.

 

  Lite Premium Enterprise
Detections Per Second 19323 17137 16474
Time Per Detection (ms) 0.0517 0.0583 0.0607
Pattern detection performance for Lite, Premium and Enterprise data files.

 

  Lite Premium Enterprise
Startup Time (ms) 60 209 204
Average Memory Usage (Mb) 66 127 155
Pattern memory usage and startup times for Lite, Premium and Enterprise data files.

Trie Benchmarks

Below is a table of performance metrics relating to the Node.js Trie API. It shows the detection speed for a single request for each data set and where applicable also the mode of operation used.

 

  Lite Premium Enterprise
Detections Per Second 40241 40160 40160
Time Per Detection (ms) 0.0248 0.0249 0.0249
Trie detection performance for Lite, Premium and Enterprise data files.

 

  Lite Premium Enterprise
Startup Time (ms) 129 1460 2252
Average Memory Usage (Mb) 96 1000 1100
Trie memory usage and startup times for Lite, Premium and Enterprise data files.