...
This commit is contained in:
parent
a87ccbf8e5
commit
d5356804c8
1 changed files with 2 additions and 3 deletions
|
|
@ -42,9 +42,8 @@ const chinese_lorem_ipsum = `
|
|||
const misc_unicode = `
|
||||
‘’“”‹›«»‚„ 😀😛😇😈😉😍😎😮👍👎 —–§¶†‡©®™ →⇒•·°±−×÷¼½½¾
|
||||
…µ¢£€¿¡¨´¸ˆ˜ ÀÁÂÃÄÅÆÇÈÉÊË ÌÍÎÏÐÑÒÓÔÕÖØ ŒŠÙÚÛÜÝŸÞßàá âãäåæçèéêëìí
|
||||
îïðñòóôõöøœš ùúûüýÿþªºαΩ∞
|
||||
îïðñòóôõöøœš ùúûüýÿþªºαΩ∞ ū̀n̂o᷵H̨a̠b̡͓̐c̡͓̐X̡͓̐
|
||||
`
|
||||
const combining_chars = "ū̀n̂o᷵H̨a\u0300b\u0321\u0310\u0353c\u0321\u0310\u0353"
|
||||
|
||||
var opts Options
|
||||
|
||||
|
|
@ -142,7 +141,7 @@ func simple_ascii() (r result, err error) {
|
|||
|
||||
func unicode() (r result, err error) {
|
||||
const desc = "Unicode chars"
|
||||
data := strings.Repeat(chinese_lorem_ipsum+misc_unicode+combining_chars, 1024)
|
||||
data := strings.Repeat(chinese_lorem_ipsum+misc_unicode, 1024)
|
||||
duration, data_sz, reps, err := benchmark_data(desc, data, opts)
|
||||
if err != nil {
|
||||
return result{}, err
|
||||
|
|
|
|||
Loading…
Reference in a new issue