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

Perl 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 Perl Pattern 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 Second4545440000
47619
Time Per Detection (ms)0.022
0.025
0.021
Pattern detection performance for Lite, Premium and Enterprise data files.
LitePremiumEnterprise
Startup Time (ms)4161014
1212
Average Memory Usage (Mb)45.5
100.5
134.5
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 Perl 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 Second111111
125000
76923
Time Per Detection (ms)0.009
0.008
0.013
Trie detection performance for Lite, Premium and Enterprise data files.
LitePremiumEnterprise
Startup Time (ms)656
8758
10017
Average Memory Usage (Mb)70.7
1014.1
1063.5
Trie memory usage and startup times for Lite, Premium and Enterprise data files.