htmlパース速度比較
条件
ある時刻表のWebページから、特定のid直下のth要素のinner_textを取得する
同じ処理を1000回繰り替えすように実装
cargo testのテストケースとして実行し、finished in 0.00s の表示をもとに比較
table:summary
release debug 実装量
scraper 2.15s 22.78s 10行
html5ever 1.43s 14.49s 55行
tl 0.21s 4.78s 23行
str::split_once 0.00s 0.06s 9行