globalsign / publicsuffix Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
The performance of the Weppos library has been significantly improved. I ran your benchmarks on my machine:
❯ go test -bench=.
goos: darwin
goarch: amd64
pkg: github.com/globalsign/publicsuffix
BenchmarkPublicSuffix1-4 5000000 356 ns/op
BenchmarkPublicSuffix2-4 3000000 513 ns/op
BenchmarkPublicSuffix3-4 5000000 253 ns/op
BenchmarkPublicSuffix4-4 5000000 362 ns/op
BenchmarkPublicSuffix5-4 5000000 389 ns/op
BenchmarkPublicSuffix6-4 5000000 361 ns/op
BenchmarkPublicSuffix7-4 3000000 493 ns/op
BenchmarkPublicSuffixWeppos1-4 20000000 59.6 ns/op
BenchmarkPublicSuffixWeppos2-4 20000000 83.1 ns/op
BenchmarkPublicSuffixWeppos3-4 20000000 74.4 ns/op
BenchmarkPublicSuffixWeppos4-4 20000000 82.6 ns/op
BenchmarkPublicSuffixWeppos5-4 20000000 83.0 ns/op
BenchmarkPublicSuffixWeppos6-4 20000000 67.1 ns/op
BenchmarkPublicSuffixWeppos7-4 20000000 71.3 ns/op
BenchmarkPublicSuffixNet1-4 10000000 120 ns/op
BenchmarkPublicSuffixNet2-4 10000000 183 ns/op
BenchmarkPublicSuffixNet3-4 10000000 132 ns/op
BenchmarkPublicSuffixNet4-4 20000000 104 ns/op
BenchmarkPublicSuffixNet5-4 20000000 105 ns/op
BenchmarkPublicSuffixNet6-4 10000000 140 ns/op
BenchmarkPublicSuffixNet7-4 10000000 179 ns/op
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.