Skip to content

Latest commit

 

History

History
152 lines (148 loc) · 12 KB

README.md

File metadata and controls

152 lines (148 loc) · 12 KB

Benchmarks

Run

HARFBUZZ_SYS_NO_PKG_CONFIG="" cargo +nightly bench

Results (on M1 Pro)

test arabic::paragraph_long::hb       ... bench:     164,095.44 ns/iter (+/- 6,931.38)
test arabic::paragraph_long::rb       ... bench:     336,837.60 ns/iter (+/- 14,450.79)
test arabic::paragraph_medium::hb     ... bench:      95,027.37 ns/iter (+/- 6,473.59)
test arabic::paragraph_medium::rb     ... bench:     189,298.63 ns/iter (+/- 5,028.61)
test arabic::paragraph_short::hb      ... bench:      33,229.54 ns/iter (+/- 1,019.54)
test arabic::paragraph_short::rb      ... bench:      65,095.37 ns/iter (+/- 4,898.15)
test arabic::sentence_1::hb           ... bench:      25,170.83 ns/iter (+/- 1,034.85)
test arabic::sentence_1::rb           ... bench:      43,467.05 ns/iter (+/- 2,410.91)
test arabic::sentence_2::hb           ... bench:      24,914.93 ns/iter (+/- 438.54)
test arabic::sentence_2::rb           ... bench:      46,281.94 ns/iter (+/- 3,540.11)
test arabic::word_1::hb               ... bench:      12,621.25 ns/iter (+/- 607.71)
test arabic::word_1::rb               ... bench:      10,375.69 ns/iter (+/- 608.65)
test arabic::word_2::hb               ... bench:      12,903.58 ns/iter (+/- 172.58)
test arabic::word_2::rb               ... bench:      11,186.68 ns/iter (+/- 404.03)
test arabic::word_3::hb               ... bench:      12,679.25 ns/iter (+/- 572.37)
test arabic::word_3::rb               ... bench:      10,447.67 ns/iter (+/- 279.26)
test english::aat_paragraph_long::hb  ... bench:     427,435.42 ns/iter (+/- 80,852.27)
test english::aat_paragraph_long::rb  ... bench:     536,666.60 ns/iter (+/- 105,528.75)
test english::aat_sentence_1::hb      ... bench:      56,117.71 ns/iter (+/- 1,882.58)
test english::aat_sentence_1::rb      ... bench:      61,236.61 ns/iter (+/- 2,464.93)
test english::aat_word_1::hb          ... bench:      10,451.48 ns/iter (+/- 268.08)
test english::aat_word_1::rb          ... bench:       4,410.85 ns/iter (+/- 97.72)
test english::long_zalgo::hb          ... bench:     821,629.10 ns/iter (+/- 18,615.00)
test english::long_zalgo::rb          ... bench:   1,606,441.60 ns/iter (+/- 25,238.43)
test english::paragraph_long::hb      ... bench:     134,123.63 ns/iter (+/- 5,137.36)
test english::paragraph_long::rb      ... bench:     350,304.15 ns/iter (+/- 4,397.90)
test english::paragraph_long_mono::hb ... bench:      18,446.74 ns/iter (+/- 1,024.47)
test english::paragraph_long_mono::rb ... bench:      80,886.36 ns/iter (+/- 9,213.32)
test english::paragraph_medium::hb    ... bench:      95,546.23 ns/iter (+/- 3,420.07)
test english::paragraph_medium::rb    ... bench:     251,779.15 ns/iter (+/- 5,450.71)
test english::paragraph_short::hb     ... bench:      58,145.01 ns/iter (+/- 1,746.31)
test english::paragraph_short::rb     ... bench:     154,543.32 ns/iter (+/- 2,994.17)
test english::sentence_1::hb          ... bench:      33,376.96 ns/iter (+/- 2,100.66)
test english::sentence_1::rb          ... bench:      88,184.53 ns/iter (+/- 7,587.55)
test english::sentence_2::hb          ... bench:      31,576.77 ns/iter (+/- 919.18)
test english::sentence_2::rb          ... bench:      81,858.33 ns/iter (+/- 2,724.62)
test english::sentence_mono::hb       ... bench:       4,650.61 ns/iter (+/- 206.19)
test english::sentence_mono::rb       ... bench:      12,603.45 ns/iter (+/- 995.11)
test english::short_zalgo::hb         ... bench:      46,089.32 ns/iter (+/- 1,346.56)
test english::short_zalgo::rb         ... bench:     114,022.52 ns/iter (+/- 3,244.49)
test english::variations::hb          ... bench:     141,635.40 ns/iter (+/- 6,972.18)
test english::variations::rb          ... bench:     393,606.20 ns/iter (+/- 13,858.15)
test english::variations_default::hb  ... bench:     140,846.90 ns/iter (+/- 3,555.50)
test english::variations_default::rb  ... bench:     394,256.25 ns/iter (+/- 31,613.51)
test english::word_1::hb              ... bench:      21,154.69 ns/iter (+/- 978.86)
test english::word_1::rb              ... bench:      48,717.59 ns/iter (+/- 2,082.93)
test english::word_2::hb              ... bench:      21,584.32 ns/iter (+/- 813.00)
test english::word_2::rb              ... bench:      49,964.02 ns/iter (+/- 1,157.31)
test english::word_3::hb              ... bench:      21,136.15 ns/iter (+/- 475.86)
test english::word_3::rb              ... bench:      48,337.12 ns/iter (+/- 973.48)
test english::word_4::hb              ... bench:      21,813.22 ns/iter (+/- 40,614.01)
test english::word_4::rb              ... bench:      50,552.50 ns/iter (+/- 3,133.26)
test hebrew::paragraph_long_1::hb     ... bench:      71,516.41 ns/iter (+/- 5,365.28)
test hebrew::paragraph_long_1::rb     ... bench:     205,693.24 ns/iter (+/- 10,138.54)
test hebrew::paragraph_long_2::hb     ... bench:     138,278.19 ns/iter (+/- 6,031.69)
test hebrew::paragraph_long_2::rb     ... bench:     343,106.22 ns/iter (+/- 10,744.70)
test hebrew::paragraph_medium::hb     ... bench:      21,266.41 ns/iter (+/- 527.85)
test hebrew::paragraph_medium::rb     ... bench:      55,064.58 ns/iter (+/- 3,255.42)
test hebrew::sentence_1::hb           ... bench:       8,999.72 ns/iter (+/- 461.18)
test hebrew::sentence_1::rb           ... bench:      21,486.65 ns/iter (+/- 810.73)
test hebrew::sentence_2::hb           ... bench:       8,867.71 ns/iter (+/- 175.40)
test hebrew::sentence_2::rb           ... bench:      17,448.02 ns/iter (+/- 415.42)
test hebrew::word_1::hb               ... bench:       5,205.62 ns/iter (+/- 220.68)
test hebrew::word_1::rb               ... bench:       6,577.01 ns/iter (+/- 246.73)
test hebrew::word_2::hb               ... bench:       5,231.29 ns/iter (+/- 181.17)
test hebrew::word_2::rb               ... bench:       6,640.45 ns/iter (+/- 269.28)
test hindi::aat_paragraph_long::hb    ... bench:   1,227,547.95 ns/iter (+/- 58,103.52)
test hindi::aat_paragraph_long::rb    ... bench:   1,353,340.60 ns/iter (+/- 30,846.47)
test hindi::aat_sentence::hb          ... bench:     171,337.67 ns/iter (+/- 5,560.59)
test hindi::aat_sentence::rb          ... bench:     175,062.47 ns/iter (+/- 5,130.56)
test hindi::aat_word::hb              ... bench:      37,765.71 ns/iter (+/- 2,546.32)
test hindi::aat_word::rb              ... bench:      23,575.59 ns/iter (+/- 434.39)
test hindi::paragraph_long::hb        ... bench:     518,143.75 ns/iter (+/- 23,976.89)
test hindi::paragraph_long::rb        ... bench:     835,427.60 ns/iter (+/- 28,832.41)
test hindi::paragraph_medium::hb      ... bench:     330,297.95 ns/iter (+/- 19,294.17)
test hindi::paragraph_medium::rb      ... bench:     530,417.72 ns/iter (+/- 20,549.90)
test hindi::paragraph_short::hb       ... bench:     185,923.63 ns/iter (+/- 8,067.80)
test hindi::paragraph_short::rb       ... bench:     292,980.22 ns/iter (+/- 16,084.58)
test hindi::sentence_1::hb            ... bench:      77,392.35 ns/iter (+/- 7,938.95)
test hindi::sentence_1::rb            ... bench:     131,015.62 ns/iter (+/- 4,616.37)
test hindi::sentence_2::hb            ... bench:      66,877.21 ns/iter (+/- 2,280.89)
test hindi::sentence_2::rb            ... bench:     118,837.50 ns/iter (+/- 7,195.00)
test hindi::word_1::hb                ... bench:      27,582.87 ns/iter (+/- 866.07)
test hindi::word_1::rb                ... bench:      52,969.42 ns/iter (+/- 1,662.69)
test hindi::word_2::hb                ... bench:      28,056.59 ns/iter (+/- 683.58)
test hindi::word_2::rb                ... bench:      50,894.71 ns/iter (+/- 5,975.24)
test khmer::aat_paragraph_long_1::hb  ... bench:     553,041.70 ns/iter (+/- 13,132.09)
test khmer::aat_paragraph_long_1::rb  ... bench:     738,745.85 ns/iter (+/- 25,539.18)
test khmer::aat_sentence_1::hb        ... bench:      43,839.77 ns/iter (+/- 1,503.41)
test khmer::aat_sentence_1::rb        ... bench:      68,139.81 ns/iter (+/- 2,128.70)
test khmer::aat_word_1::hb            ... bench:      11,372.19 ns/iter (+/- 657.36)
test khmer::aat_word_1::rb            ... bench:      13,259.76 ns/iter (+/- 348.02)
test khmer::paragraph_long_1::hb      ... bench:     340,470.82 ns/iter (+/- 12,318.14)
test khmer::paragraph_long_1::rb      ... bench:     577,504.20 ns/iter (+/- 25,390.19)
test khmer::paragraph_long_2::hb      ... bench:     423,397.92 ns/iter (+/- 16,405.49)
test khmer::paragraph_long_2::rb      ... bench:     760,011.97 ns/iter (+/- 804,083.54)
test khmer::paragraph_medium::hb      ... bench:     212,460.24 ns/iter (+/- 20,273.64)
test khmer::paragraph_medium::rb      ... bench:     337,560.42 ns/iter (+/- 30,013.53)
test khmer::sentence_1::hb            ... bench:      17,080.09 ns/iter (+/- 3,298.05)
test khmer::sentence_1::rb            ... bench:      33,589.17 ns/iter (+/- 2,002.86)
test khmer::sentence_2::hb            ... bench:      29,840.28 ns/iter (+/- 1,137.47)
test khmer::sentence_2::rb            ... bench:      43,775.35 ns/iter (+/- 1,497.02)
test khmer::word_1::hb                ... bench:      15,379.94 ns/iter (+/- 852.55)
test khmer::word_1::rb                ... bench:      19,068.67 ns/iter (+/- 945.58)
test khmer::word_2::hb                ... bench:      16,782.29 ns/iter (+/- 8,584.80)
test khmer::word_2::rb                ... bench:      21,803.72 ns/iter (+/- 569.88)
test khmer::word_3::hb                ... bench:      15,553.06 ns/iter (+/- 1,060.58)
test khmer::word_3::rb                ... bench:      19,325.61 ns/iter (+/- 567.89)
test myanmar::aat_paragraph_long::hb  ... bench:     892,570.80 ns/iter (+/- 28,243.91)
test myanmar::aat_paragraph_long::rb  ... bench:   2,617,302.08 ns/iter (+/- 1,151,383.23)
test myanmar::aat_sentence_1::hb      ... bench:      67,993.40 ns/iter (+/- 12,299.90)
test myanmar::aat_sentence_1::rb      ... bench:      91,477.82 ns/iter (+/- 6,126.13)
test myanmar::aat_word_1::hb          ... bench:       8,648.47 ns/iter (+/- 359.95)
test myanmar::aat_word_1::rb          ... bench:       9,681.40 ns/iter (+/- 426.04)
test myanmar::paragraph_long::hb      ... bench:   1,037,674.90 ns/iter (+/- 39,378.67)
test myanmar::paragraph_long::rb      ... bench:   2,947,060.40 ns/iter (+/- 98,205.12)
test myanmar::paragraph_medium::hb    ... bench:     391,235.41 ns/iter (+/- 31,418.95)
test myanmar::paragraph_medium::rb    ... bench:   1,119,850.00 ns/iter (+/- 105,106.22)
test myanmar::paragraph_short::hb     ... bench:      79,682.50 ns/iter (+/- 10,206.99)
test myanmar::paragraph_short::rb     ... bench:     231,014.58 ns/iter (+/- 18,383.56)
test myanmar::sentence_1::hb          ... bench:      79,915.62 ns/iter (+/- 1,876.04)
test myanmar::sentence_1::rb          ... bench:     236,170.83 ns/iter (+/- 19,369.25)
test myanmar::sentence_2::hb          ... bench:     104,938.55 ns/iter (+/- 4,235.93)
test myanmar::sentence_2::rb          ... bench:     324,814.55 ns/iter (+/- 18,351.91)
test myanmar::word_1::hb              ... bench:      15,220.29 ns/iter (+/- 995.48)
test myanmar::word_1::rb              ... bench:      18,364.04 ns/iter (+/- 1,338.20)
test myanmar::word_2::hb              ... bench:      16,053.91 ns/iter (+/- 1,649.50)
test myanmar::word_2::rb              ... bench:      18,865.62 ns/iter (+/- 935.38)
test thai::paragraph_long::hb         ... bench:     182,055.73 ns/iter (+/- 8,467.80)
test thai::paragraph_long::rb         ... bench:     358,512.50 ns/iter (+/- 11,501.01)
test thai::paragraph_medium::hb       ... bench:      52,417.50 ns/iter (+/- 3,753.37)
test thai::paragraph_medium::rb       ... bench:     107,652.92 ns/iter (+/- 9,101.30)
test thai::paragraph_short::hb        ... bench:      22,754.17 ns/iter (+/- 942.29)
test thai::paragraph_short::rb        ... bench:      43,965.84 ns/iter (+/- 2,201.63)
test thai::sentence_1::hb             ... bench:      15,556.12 ns/iter (+/- 1,008.98)
test thai::sentence_1::rb             ... bench:      32,429.81 ns/iter (+/- 1,875.70)
test thai::word_1::hb                 ... bench:       5,911.67 ns/iter (+/- 442.63)
test thai::word_1::rb                 ... bench:       8,231.97 ns/iter (+/- 281.64)
test thai::word_2::hb                 ... bench:       5,871.47 ns/iter (+/- 379.37)
test thai::word_2::rb                 ... bench:       8,627.16 ns/iter (+/- 568.99)