mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 00:47:28 +01:00
Add mark/since/count_since methods
name old speed new speed delta wuffs_deflate_decode_1k_full_init/clang5 149MB/s ± 0% 151MB/s ± 1% +1.46% (p=0.000 n=9+7) wuffs_deflate_decode_1k_part_init/clang5 183MB/s ± 1% 188MB/s ± 2% +2.40% (p=0.000 n=10+10) wuffs_deflate_decode_10k_full_init/clang5 236MB/s ± 0% 242MB/s ± 1% +2.56% (p=0.000 n=10+10) wuffs_deflate_decode_10k_part_init/clang5 243MB/s ± 0% 249MB/s ± 0% +2.36% (p=0.000 n=9+9) wuffs_deflate_decode_100k_just_one_read/clang5 279MB/s ± 0% 288MB/s ± 1% +3.28% (p=0.000 n=9+8) wuffs_deflate_decode_100k_many_big_reads/clang5 232MB/s ± 0% 240MB/s ± 1% +3.76% (p=0.000 n=9+9) wuffs_deflate_decode_1k_full_init/gcc7 152MB/s ± 1% 152MB/s ± 1% ~ (p=0.661 n=10+9) wuffs_deflate_decode_1k_part_init/gcc7 188MB/s ± 0% 187MB/s ± 1% -0.58% (p=0.013 n=10+9) wuffs_deflate_decode_10k_full_init/gcc7 260MB/s ± 0% 260MB/s ± 0% ~ (p=0.393 n=10+10) wuffs_deflate_decode_10k_part_init/gcc7 268MB/s ± 0% 268MB/s ± 0% ~ (p=0.971 n=10+10) wuffs_deflate_decode_100k_just_one_read/gcc7 312MB/s ± 1% 312MB/s ± 0% ~ (p=0.720 n=10+9) wuffs_deflate_decode_100k_many_big_reads/gcc7 247MB/s ± 1% 247MB/s ± 0% -0.26% (p=0.022 n=10+9)
This commit is contained in:
1 parent
e5f535db4f
commit
ff1e3c9c48
10 files changed
+157
-42
No files matched your search
@@ -217,10 +217,13 @@ var Funcs = []string{
|
||||
"io_reader.peek_u64le() u64",
|
||||
|
||||
"io_reader.available() u64",
|
||||
"io_reader.count_since(mark u64) u64",
|
||||
"io_reader.mark() u64",
|
||||
"io_reader.position() u64",
|
||||
"io_reader.set!(s slice u8, closed bool)", // TODO: remove, as it's no longer used?
|
||||
"io_reader.set_limit!(l u64)", // TODO: remove, as it's no longer used?
|
||||
"io_reader.set_mark!()",
|
||||
"io_reader.since(mark u64) slice u8",
|
||||
"io_reader.since_mark() slice u8",
|
||||
"io_reader.take!(n u64) slice u8",
|
||||
|
||||
@@ -272,10 +275,13 @@ var Funcs = []string{
|
||||
"io_writer.write_fast_u64le!(x u64)",
|
||||
|
||||
"io_writer.available() u64",
|
||||
"io_writer.count_since(mark u64) u64",
|
||||
"io_writer.mark() u64",
|
||||
"io_writer.position() u64",
|
||||
"io_writer.set!(s slice u8)", // TODO: remove, as it's no longer used?
|
||||
"io_writer.set_limit!(l u64)", // TODO: remove, as it's no longer used?
|
||||
"io_writer.set_mark!()",
|
||||
"io_writer.since(mark u64) slice u8",
|
||||
"io_writer.since_mark() slice u8",
|
||||
|
||||
"io_writer.copy_from_slice!(s slice u8) u64",
|
||||
|
||||
Reference in new issue
Block a user