All Projects → kenjis → user-agent-parser-benchmarks

kenjis / user-agent-parser-benchmarks

Licence: other
PHP User Agent Parser Benchmarks

Programming Languages

PHP
23972 projects - #3 most used programming language
HTML
75241 projects
shell
77523 projects

Labels

Projects that are alternatives of or similar to user-agent-parser-benchmarks

CBLUE
中文医疗信息处理基准CBLUE: A Chinese Biomedical Language Understanding Evaluation Benchmark
Stars: ✭ 379 (+1206.9%)
Mutual labels:  benchmark
eCommerceSearchBench
E-commerce search benchmark is the first end-to-end application benchmark for e-commerce search system with personalized recommendations.This work is joint with Prof. Jianfeng Zhan (http://www.benchcouncil.org/zjf.html) 's team, who is also the chair of International Open Benchmark Council (BenchCouncil, http://www.benchcouncil.org/).
Stars: ✭ 29 (+0%)
Mutual labels:  benchmark
Hetero-Mark
A Benchmark Suite for Heterogeneous System Computation
Stars: ✭ 41 (+41.38%)
Mutual labels:  benchmark
Java-Logging-Framework-Benchmark
Suite for benchmarking Java logging frameworks.
Stars: ✭ 16 (-44.83%)
Mutual labels:  benchmark
benchdiff
No description or website provided.
Stars: ✭ 41 (+41.38%)
Mutual labels:  benchmark
perf
Linux Perf subsystem bindings for Go
Stars: ✭ 19 (-34.48%)
Mutual labels:  benchmark
link-too-big
Link Too Big? Make Link Short
Stars: ✭ 12 (-58.62%)
Mutual labels:  benchmark
CellBench
R package for benchmarking single cell analysis methods
Stars: ✭ 21 (-27.59%)
Mutual labels:  benchmark
scATAC-benchmarking
Benchmarking computational single cell ATAC-seq methods
Stars: ✭ 137 (+372.41%)
Mutual labels:  benchmark
bench
⏱️ Reliable performance measurement for Go programs. All in one design.
Stars: ✭ 33 (+13.79%)
Mutual labels:  benchmark
NPB-CPP
NAS Parallel Benchmark Kernels in C/C++. The parallel versions are in FastFlow, TBB, and OpenMP.
Stars: ✭ 18 (-37.93%)
Mutual labels:  benchmark
touchstone
Smart benchmarking of pull requests with statistical confidence
Stars: ✭ 33 (+13.79%)
Mutual labels:  benchmark
sbt-jmh
"Trust no one, bench everything." - sbt plugin for JMH (Java Microbenchmark Harness)
Stars: ✭ 740 (+2451.72%)
Mutual labels:  benchmark
github-action-benchmark
GitHub Action for continuous benchmarking to keep performance
Stars: ✭ 592 (+1941.38%)
Mutual labels:  benchmark
yjit-bench
Set of benchmarks for the YJIT CRuby JIT compiler
Stars: ✭ 38 (+31.03%)
Mutual labels:  benchmark
LFattNet
Attention-based View Selection Networks for Light-field Disparity Estimation
Stars: ✭ 41 (+41.38%)
Mutual labels:  benchmark
Edge-Detection-project
Tiny Image in Javascript - Edge Detection Algorithms
Stars: ✭ 27 (-6.9%)
Mutual labels:  benchmark
container-orchestration
A Benchmark for Container Orchestration Systems
Stars: ✭ 19 (-34.48%)
Mutual labels:  benchmark
gtestx
A C++ benchmark extension for gtest
Stars: ✭ 19 (-34.48%)
Mutual labels:  benchmark
Language-Arena
C++ vs D vs Go benchmark
Stars: ✭ 19 (-34.48%)
Mutual labels:  benchmark

PHP User Agent Parser Benchmarks

Results

parser time peak memory
get_browser() 59.665177 524288
browscap-php 4.9851598 50069504
crossjoin\Browscap 4.6786639 1310720
ua-parser 0.6419560 2097152
woothee-php 0.0876269 524288

Note(1): These parsers have different functionality. Generally speaking, it has more functionality, it becomes slower.

Note(2): This benchmark is designed to parse only one user agent with one parser instance.

How to Benchmark

Install source code.

$ git clone https://github.com/kenjis/user-agent-parser-benchmarks.git
$ cd user-agent-parser-benchmarks
$ composer install

Edit baseUrl value in config.php if you need.

Prepare benchmarks and web server.

$ sh bin/prepare.sh
$ php -S localhost:8000

Run benchmarks.

$ php bin/run-benchmarks.php

See http://localhost:8000/benchmark.php.

Check your User Agent

You can check your user agent at http://localhost:8000/check-your-ua.php.

How to Check Differences of Detections

Prepare your user agent strings list file and set userAgentListFile value in config.php.

Run benchmarks and normalize.

$ php bin/run-benchmarks.php
$ php bin/normalize-output.php

Show differences.

$ php bin/show-diff.php

Reference

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].