sanchezzzhak / benchmark-useragent-parser

who is the best of the best?
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Info

Last date scan

2022/01/06

Total
Parser Name UA Count Min time Max time Total time Avg time Min memory Max memory Total memory Avg memory Bots Bot uniques OS OS versions Client types Client names Client versions Engine names Engine versions Device types Brand names Model names Model unique names
matomo/device-detector 346301 0 0.5067 1018.15 0.0029 96 byte 6.24 Mb 72.73 Mb 220.22 byte 2854 356 335595 (96.91%) 305316 (88.16%) 332954 (96.15%) 332954 (96.15%) 299041 (86.35%) 267531 (77.25%) 93662 (27.05%) 318891 (92.08%) 273851 (79.08%) 259476 (74.93%) 24900 (7.19%)
whichbrowser/parser 328153 0.0003 0.7155 322.11 0.001 96 byte 10.16 Mb 513.54 Mb 1.6 Kb 2948 274 301535 (91.89%) 278230 (84.79%) 263017 (80.15%) 288155 (87.81%) 215506 (65.67%) 299925 (91.4%) 91311 (27.83%) 322858 (98.39%) 237449 (72.36%) 285449 (86.99%) 32688 (9.96%)
mimmi20/browser-detector 346301 0.0009 0.2613 1178.44 0.0034 96 byte 4.79 Mb 2.8 Gb 8.48 Kb 4057 685 340117 (98.21%) 301464 (87.05%) 338054 (97.62%) 338054 (97.62%) 324185 (93.61%) 332446 (96%) 315499 (91.11%) 340514 (98.33%) 274721 (79.33%) 340514 (98.33%) 15998 (4.62%)
foroco/browser-detection 346301 0 0.0047 36.53 0.0001 96 byte 66.59 Kb 441.18 Mb 1.3 Kb 37 0 333500 (96.3%) 301420 (87.04%) 0 (0%) 314145 (90.71%) 307025 (88.66%) 0 (0%) 0 (0%) 337025 (97.32%) 0 (0%) 0 (0%) 0 (0%)
browscap/browscap 346301 0.0023 0.3269 3238.87 0.0094 96 byte 794.22 Kb 1.58 Gb 4.79 Kb 3938 830 321777 (92.92%) 0 (0%) 0 (0%) 342363 (98.86%) 342363 (98.86%) 0 (0%) 0 (0%) 324882 (93.81%) 0 (0%) 0 (0%) 1 (0%)
Install
Command Description
composer install
php yii show all available commands
php yii migrate to apply all migrations
php yii serve run web server
Commands
Command Description
php yii robbing robbing new useragents to database
php yii matomo-parser analyze all useragents and save result to db
php yii mimmi20-parser analyze all useragents and save result to db
php yii whichbrowser-parser analyze all useragents and save result to db
php yii foroco-parser analyze all useragents and save result to db
php yii browsercap-parser analyze all useragents and save result to db

After executing the above commands, you can view the results online

cd project & cd web/
php -S localhost:8080
Preview: ![image](https://user-images.githubusercontent.com/1337066/147969697-4710707d-0ef5-49c9-be96-df03f87fe741.png)
Parsers

Last Database Download format mysqldump

restore dump

mysql -u root -p benchmark-useragent-parser < filename.sql

or

unzip -p dbdump.zip | mysql -u root -p benchmark-useragent-parser