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

C 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 using the PerfPat and PerfTrie tools included in the C project.

Pattern Benchmarks

Below is a table of performance metrics relating to the C 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 11601 13192 13550
Time Per Detection (ms)
0.0862 0.0758 0.0738
Pattern detection performance without caching for Lite, Premium and Enterprise data files.
Lite Premium Enterprise
Detections Per Second 21459 29412
30488
Time Per Detection (ms)
0.0468 0.0515 0.0328
Pattern detection performance with a cache size of 100000 for Lite, Premium and Enterprise data files.
LitePremiumEnterprise
Startup Time (ms)73
127
259
Average Memory Usage (Mb)59
133171
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 C Trie API. It shows the detection speed for a single request for each data set and where applicable also the mode of operation used.


LitePremiumEnterprise
Detections Per Second
3076920
23529391538460
Time Per Detection (ms)0.000325
0.000425
0.00065
Trie detection performance for Lite, Premium and Enterprise data files.
LitePremiumEnterprise
Startup Time (ms)93
20003000
Average Memory Usage (Mb)82
10461098
Trie memory usage and startup times for Lite, Premium and Enterprise data files.