messense / jieba-rs

The Jieba Chinese Word Segmentation Implemented in Rust
MIT License
738 stars 46 forks source link

Implement StaticSparseDAG #63

Closed MnO2 closed 5 years ago

MnO2 commented 5 years ago
     Running target/release/deps/jieba_benchmark-2b79a3dc438b9b0b
Gnuplot not found, disabling plotting
jieba cut/no hmm        time:   [5.8359 us 5.8628 us 5.8974 us]
                        thrpt:  [19.405 MiB/s 19.520 MiB/s 19.610 MiB/s]
                 change:
                        time:   [-6.5882% -5.7170% -4.9558%] (p = 0.00 < 0.05)
                        thrpt:  [+5.2142% +6.0637% +7.0529%]
                        Performance has improved.
Found 7 outliers among 100 measurements (7.00%)
  3 (3.00%) high mild
  4 (4.00%) high severe
jieba cut/with hmm      time:   [7.5415 us 7.5596 us 7.5798 us]
                        thrpt:  [15.098 MiB/s 15.138 MiB/s 15.175 MiB/s]
                 change:
                        time:   [-5.7900% -4.7956% -3.6511%] (p = 0.00 < 0.05)
                        thrpt:  [+3.7895% +5.0372% +6.1458%]
                        Performance has improved.
Found 11 outliers among 100 measurements (11.00%)
  3 (3.00%) high mild
  8 (8.00%) high severe
jieba cut/cut_all       time:   [4.4740 us 4.4915 us 4.5099 us]
                        thrpt:  [25.376 MiB/s 25.479 MiB/s 25.579 MiB/s]
                 change:
                        time:   [-1.2312% -0.4988% +0.2175%] (p = 0.20 > 0.05)
                        thrpt:  [-0.2170% +0.5013% +1.2465%]
                        No change in performance detected.
Found 7 outliers among 100 measurements (7.00%)
  4 (4.00%) high mild
  3 (3.00%) high severe
jieba cut/cut_for_search
                        time:   [8.7598 us 8.7904 us 8.8256 us]
                        thrpt:  [12.967 MiB/s 13.019 MiB/s 13.064 MiB/s]
                 change:
                        time:   [-6.9266% -5.8244% -4.6467%] (p = 0.00 < 0.05)
                        thrpt:  [+4.8732% +6.1847% +7.4421%]
                        Performance has improved.
Found 8 outliers among 100 measurements (8.00%)
  4 (4.00%) high mild
  4 (4.00%) high severe
codecov[bot] commented 5 years ago

Codecov Report

Merging #63 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #63   +/-   ##
======================================
  Coverage    86.4%   86.4%           
======================================
  Files           4       4           
  Lines         206     206           
======================================
  Hits          178     178           
  Misses         28      28

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a5600a3...5fef244. Read the comment docs.

codecov-io commented 5 years ago

Codecov Report

Merging #63 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master     #63   +/-   ##
======================================
  Coverage    86.4%   86.4%           
======================================
  Files           4       4           
  Lines         206     206           
======================================
  Hits          178     178           
  Misses         28      28

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fb1351a...448488a. Read the comment docs.