You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only problem I'm facing is that the parsing is long, very much longer than other parsers like woothee, ua-parser or httpagentparser, BUT your results are more accurate :)
For example, with a simple script who only parse 400 lines, ua-parser made it in 1.009 seconds, and device_detector 219s.
Is there any reason ? Maybe can you look how they made it compared to you ?
Thanks a lot
The text was updated successfully, but these errors were encountered:
Regex compilation isn't cached. I didn't decide whether to compile when loading from yaml, or to lazily compile & cache when first used. The lazy mode is better for short runs but will use more memory. It's implemented in commit 5afc3c4.
Secondly, it'll always be at least an order of magnitude slower than the libraries you mention because of the device model parsing, which the other libraries don't support. If you don't need device info, then those libraries are the way to go, and I'd have used one of those myself instead.
Hello, and thank you for your great parser !
The only problem I'm facing is that the parsing is long, very much longer than other parsers like woothee, ua-parser or httpagentparser, BUT your results are more accurate :)
For example, with a simple script who only parse 400 lines, ua-parser made it in 1.009 seconds, and device_detector 219s.
Is there any reason ? Maybe can you look how they made it compared to you ?
Thanks a lot
The text was updated successfully, but these errors were encountered: