Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster by concurrently parsing the OS, UA & Device #28

Merged
merged 1 commit into from
Jun 27, 2016

Conversation

simcap
Copy link
Contributor

@simcap simcap commented Jun 26, 2016

  • Gain of 33%
  • uap-go is often used on server side to parse agents from incoming http requests i.e. high volume. Making it a bit faster while preserving Goroutine safety is therefore useful.
benchmark             old ns/op     new ns/op     delta
BenchmarkParser-8     27243975      18124922      -33.47%

* Gain of 33%
* `uap-go` is often used to parse agent from incoming
http requests i.e. high volume. Making it a bit faster
while preserving Goroutine safety is therefore useful

benchmark             old ns/op     new ns/op     delta
BenchmarkParser-8     27243975      18124922      -33.47%
@elsigh elsigh merged commit a6c06da into ua-parser:master Jun 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants