FGRibreau / node-language-detect

🇫🇷 NodeJS language detection library using n-gram
http://blog.fgribreau.com/2011/07/week-end-project-nodejs-language.html
MIT License
399 stars 45 forks source link

Improve benchmark tests #11

Closed RuslanZavacky closed 11 years ago

RuslanZavacky commented 11 years ago

PHP 1000 items processed in 4.66 secs (535 with a score > 0.2) JS 1000 items processed in 1.554 secs (411 with a score > 0.2)

Macbook 2.3 GHz Intel Core i5, 4 GB 1333 DDR3.

So, node.js is 3x faster, but have to work on accuracy. I'll try to think on that :)