Benchmark
cxumol opened this issue · 0 comments
cxumol commented
Benchmark
Feed in ./corpus/钱锺书_灵感.txt
(77.5 KB)
Result
- https://cxumol.github.io/jieba-wasm-html/ takes about 40 ms to finish a task, excluding initiation
- https://app.gumble.pw/jiebademo/ takes about 1.8 s to finish a task
That means, jieba-wasm is more than 40x faster than a typical Python Jieba web application.
Screenshots
On https://cxumol.github.io/jieba-wasm-html/ , initiation takes a relatively long time, otherwise it's super fast.
https://app.gumble.pw/jiebademo/ is laggy when text is long.
Server responding plays a major role in these tasks on https://app.gumble.pw/jiebademo/