I'm kind of surprised that C++ is so slow. I would imagine that anything you can do performance-wise in Go or Julia, you ought to be able to do in C++. Any idea what's going on there?
On Fri, Nov 6, 2015 at 12:00 PM, Michiaki ARIGA <[email protected]> wrote: > Finally, I compared with C++ and Go version using TinySegmenterMaker. > https://github.com/shogo82148/TinySegmenterMaker/pull/10 > > The resulting times(in seconds for 100 loops a text file) is following: > RubyC++PerlNode.jsGoPythonJulia132.9848134105.3110.50111.8511.70 > > After my blog post, ikawaha optimized Golang version using same way we > did, and golang gets faster than Julia. > > On Thu, Oct 22, 2015 at 11:45 PM Michiaki ARIGA <[email protected]> wrote: > >> Masahiro Nakagawa a.k.a. repeatedly told me my mistakes of the benchmark, >> I re-benchmarked. >> >> Node.jsPython2Python3JuliaRuby9.6293.0823.941.4619.44 >> >> - loop number of Python was 10 times smaller than other languages >> - repeatedly optimized Ruby implementation >> - changed loop size from 100 to 10 >> >> repeatedly also benchmarked in dlang, I will do it after updating El >> Capitan :) >> http://repeatedly.github.io/ja/2015/10/tinysegmenter-benchmark-and-d/ >> >> >> On Thu, Oct 22, 2015 at 6:28 AM Pontus Stenetorp <[email protected]> >> wrote: >> >>> On 21 October 2015 at 17:49, Stefan Karpinski <[email protected]> >>> wrote: >>> > >>> > That's an excellent performance comparison case study! Nice work, >>> Chezou and nice blog post (the Google translation is pretty readable). >>> >>> Very readable indeed and I am always happy to see more NLP code in >>> Julia! Keep up the good work! >>> >>> Pontus >>> >>
