File tree Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Expand file tree Collapse file tree 1 file changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -35,26 +35,27 @@ int main()
3535}
3636```
3737
38- On a [ modern workstation desktop] ( #hardware-details ) , the above code executes in ` ~4.1s ` .
38+ On a [ modern workstation desktop] ( #hardware-details ) , the above code executes in ` ~3.5s ` .
3939
40- | Type | Value |
41- | --------------- | ------------------------------------------- |
42- | Time Taken | 4.1 s |
43- | Throughput | 1.465 Gb/s |
44- | Performance | 244 million logs/s |
45- | Average Latency | 4.1 ns |
46- | File Size | ~ 6 GB (log file) + 32 bytes (index file) |
40+ | Type | Value |
41+ | --------------- | --------------------|
42+ | Time Taken | 3.5 s |
43+ | Throughput | 1.4 Gb/s |
44+ | Performance | 286 million logs/s |
45+ | Average Latency | 3.5 ns |
46+ | File Size | ~ 5 GB |
4747
4848``` console
49- foo@bar:~/dev/binary_log $ time ./build/example/example
49+ foo@bar:~/dev/binary_log $ time ./build/examples/billion_integers/billion_integers
5050
51- real 0m4.093s
52- user 0m2.672s
53- sys 0m1.422s
51+ real 0m3.561s
52+ user 0m2.422s
53+ sys 0m1.141s
5454
5555foo@bar:~/dev/binary_log $ ls -lart log.out*
56- -rw-r--r-- 1 pranav pranav 32 Dec 3 13:33 log.out.index
57- -rw-r--r-- 1 pranav pranav 5999868672 Dec 3 13:33 log.out
56+ -rw-r--r-- 1 pranav pranav 6 Dec 6 07:52 log.out.runlength
57+ -rw-r--r-- 1 pranav pranav 32 Dec 6 07:52 log.out.index
58+ -rw-r--r-- 1 pranav pranav 4999934337 Dec 6 07:52 log.out
5859```
5960
6061## Deflate the logs
You can’t perform that action at this time.
0 commit comments