]> git.sesse.net Git - plocate/blobdiff - bench.cpp
Run clang-format.
[plocate] / bench.cpp
index 6ab0494dcacd2159b08c0c16936fc0874272378a..78fa339f9104cd695dba52cc79815df2e0702f9b 100644 (file)
--- a/bench.cpp
+++ b/bench.cpp
@@ -1,16 +1,16 @@
-#include <stdio.h>
-#include <unistd.h>
-#include <fcntl.h>
 #include <chrono>
+#include <fcntl.h>
 #include <memory>
+#include <stdio.h>
+#include <unistd.h>
 
 #define dprintf(...)
 //#define dprintf(...) fprintf(stderr, __VA_ARGS__);
 
-#include "turbopfor.h"
-#include "vp4.h"
 #include "db.h"
 #include "io_uring_engine.h"
+#include "turbopfor.h"
+#include "vp4.h"
 
 using namespace std;
 using namespace std::chrono;
@@ -99,5 +99,5 @@ int main(void)
        //   1 ns/element, a 10k-element posting list goes by in 0.01 ms, which is way beyond
        //   instantaneous in practice).
        fprintf(stderr, "%.1f MB/sec (compressed), %.1f MB/sec (uncompressed), %.1f ns/element\n", posting_list_bytes / own_sec / 1048576.0,
-               (total_elements * sizeof(uint32_t)) / own_sec / 1048576.0, 1e9 * own_sec / total_elements);
+               (total_elements * sizeof(uint32_t)) / own_sec / 1048576.0, 1e9 * own_sec / total_elements);
 }