projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add Cursor::peekBytes()
[folly.git]
/
folly
/
io
/
test
/
IOBufCursorBenchmark.cpp
diff --git
a/folly/io/test/IOBufCursorBenchmark.cpp
b/folly/io/test/IOBufCursorBenchmark.cpp
index 233f800b2921bb0a5c4e5f1d60edbc091a87f9c8..559f7a3eb972b71fad2a3442f07140fc9df1e465 100644
(file)
--- a/
folly/io/test/IOBufCursorBenchmark.cpp
+++ b/
folly/io/test/IOBufCursorBenchmark.cpp
@@
-70,7
+70,7
@@
BENCHMARK(skipBenchmark, iters) {
while (iters--) {
Cursor c(iobuf_read_benchmark.get());
for (int i = 0; i < benchmark_size; i++) {
- c.peek();
+ c.peek
Bytes
();
c.skip(1);
}
}