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


Published on Tuesday, August 21, 2012

51Degrees.mobi Java API Speed Test

Following the release of the updated 51Degrees.mobi Java API, which can be downloaded from here and is documented here, I have created a Java application to calculate the average detection speed over a given number of User Agents and we invite you to download it and see how fast our Java solution can detect on your system. The test will not work for any version before

The application consists of a jar file called "51Degrees.mobi_JavaTest.jar", which contains: a data file of 1000000 User Agent Strings, the application's classes and the java source files. The test works by recording the time it takes to loop through the detection of a number of User Agents and dividing that time by the amount of User Agents tested.

To use the application, place the JAR file in the same directory as the 51Degrees.mobi.detection.jar file and run:

By default the application will test the average detection time over 10000 User Agents:

To test over a specific number of User Agents, please specify how many as a command line argument value between 10 and 1000000:

With this program you can easily see for yourself how quickly 51Degrees.mobi's Java solution will run on your system. If you would like more information on the Java API please see our documentation section.

Comments (0)

Author: Products Team

Categories: Analysis

Tags: Java

Chris Brautigam

Products Team

Other posts by Products Team
Contact author



.NET 4G 51Degrees 5G Acer Adform Adtech Advertising Afilias Alcatel Amazon AMP Analysis Analytics Android Apache API Apple Asian Market ASP.NET Asus Blackberry Browser C C# Centro Chrome chromium Client hints Cloud CMS CPU CSS3 Data Data Blog Data File Daydream Design Detection Developers Device Device Data Device Detection Device Intelligence Device Models Device property DeviceAtlas Disney dmexco DotNetNuke Download ebay Ericsson Event Facebook Firefox Foundation Framework Galaxy git repositories Google Google Analytics Google Daydream GPU GSMA Guess HAProxy Hash Trie HTC HTML5 HTTP HTTP Headers Huawei Infinix Ingeniux Internet usage iOS iOS 13 ipad iPadOS iPhone iPhone 11 Java Javascript Kentico LG Liferay LTE m.dot Memory Memory leak Meta Data Microsoft Mobile Mobile Analysis Mobile Analytics Mobile Devices Mobile Marketing Mixer Motorola Mozilla MWC MWC 2017 MWC16 Native Apps NET New Release News Nexus NFC NGINX Nokia OnePlus 5 Opera Operating System Oppo Optimisation OS Patent Performance PHP Press Release Price Band programmatic Publishers Python Redirection Research Responsive Images Responsive web design RESS Review RTB RWD Safari Samsung Scala ScientiaMobile SEO Server Server-side optimisation Seznam.cz Sitecore Smart TV Smartphone Smartwatches Sony Swedish Beers Tablet Tencent Testing Tips Tutorial Umbraco Update User Agent User-Agent Valgrind Varnish Varnish Cache Video Vodafone VoLTE Web Web Apps Web content management Webtrekk White Paper Widgets WiFi Windows WURFL Xiaomi Xperia ZTE