-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathresults.txt
More file actions
118 lines (101 loc) · 3.99 KB
/
results.txt
File metadata and controls
118 lines (101 loc) · 3.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
Run 1
root@e268cbba34fb:/app/build/tests# ./run_tests
[==========] Running 8 tests from 5 test suites.
[----------] Global test environment set-up.
[----------] 3 tests from LRUCacheTest
[ RUN ] LRUCacheTest.BasicSetAndGet
[ OK ] LRUCacheTest.BasicSetAndGet (0 ms)
[ RUN ] LRUCacheTest.ExpirationTest
[ OK ] LRUCacheTest.ExpirationTest (2000 ms)
[ RUN ] LRUCacheTest.EvictionTest
[ OK ] LRUCacheTest.EvictionTest (0 ms)
[----------] 3 tests from LRUCacheTest (2000 ms total)
[----------] 1 test from MMapPersistenceTest
[ RUN ] MMapPersistenceTest.SnapshotAndLoad
[ OK ] MMapPersistenceTest.SnapshotAndLoad (21 ms)
[----------] 1 test from MMapPersistenceTest (21 ms total)
[----------] 1 test from MetricsCollectorTest
[ RUN ] MetricsCollectorTest.RecordAndGenerate
Latency: 15.5ms
Counter: test_ops incremented
[ OK ] MetricsCollectorTest.RecordAndGenerate (0 ms)
[----------] 1 test from MetricsCollectorTest (0 ms total)
[----------] 2 tests from RESPParserTest
[ RUN ] RESPParserTest.ParseBasicCommand
[ OK ] RESPParserTest.ParseBasicCommand (0 ms)
[ RUN ] RESPParserTest.SerializeResponse
[ OK ] RESPParserTest.SerializeResponse (0 ms)
[----------] 2 tests from RESPParserTest (0 ms total)
[----------] 1 test from WALTest
[ RUN ] WALTest.AppendAndReplay
/app/tests/test_WAL.cpp:14: Failure
Expected equality of these values:
ops.size()
Which is: 0
2
[ FAILED ] WALTest.AppendAndReplay (0 ms)
[----------] 1 test from WALTest (0 ms total)
[----------] Global test environment tear-down
[==========] 8 tests from 5 test suites ran. (2023 ms total)
[ PASSED ] 7 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] WALTest.AppendAndReplay
1 FAILED TEST
real 0m2.040s // total wall-clock time taken
user 0m0.009s // time spent in user-space code
sys 0m0.037s // time spent in kernel (I/O etc.)
Run 2
root@9d80a106c25a:/app/build/tests# ./run_tests | tee test_results.txt
[==========] Running 8 tests from 5 test suites.
[----------] Global test environment set-up.
[----------] 3 tests from LRUCacheTest
[ RUN ] LRUCacheTest.BasicSetAndGet
[ OK ] LRUCacheTest.BasicSetAndGet (0 ms)
[ RUN ] LRUCacheTest.ExpirationTest
[ OK ] LRUCacheTest.ExpirationTest (2000 ms)
[ RUN ] LRUCacheTest.EvictionTest
[ OK ] LRUCacheTest.EvictionTest (0 ms)
[----------] 3 tests from LRUCacheTest (2001 ms total)
[----------] 1 test from MMapPersistenceTest
[ RUN ] MMapPersistenceTest.SnapshotAndLoad
[ OK ] MMapPersistenceTest.SnapshotAndLoad (0 ms)
[----------] 1 test from MMapPersistenceTest (0 ms total)
[----------] 1 test from MetricsCollectorTest
[ RUN ] MetricsCollectorTest.RecordAndGenerate
Latency: 15.5ms
Counter: test_ops incremented
[ OK ] MetricsCollectorTest.RecordAndGenerate (0 ms)
[----------] 1 test from MetricsCollectorTest (0 ms total)
[----------] 2 tests from RESPParserTest
[ RUN ] RESPParserTest.ParseBasicCommand
[ OK ] RESPParserTest.ParseBasicCommand (0 ms)
[ RUN ] RESPParserTest.SerializeResponse
[ OK ] RESPParserTest.SerializeResponse (0 ms)
[----------] 2 tests from RESPParserTest (0 ms total)
[----------] 1 test from WALTest
[ RUN ] WALTest.AppendAndReplay
/app/tests/test_WAL.cpp:14: Failure
Expected equality of these values:
ops.size()
Which is: 0
2
[ FAILED ] WALTest.AppendAndReplay (0 ms)
[----------] 1 test from WALTest (0 ms total)
[----------] Global test environment tear-down
[==========] 8 tests from 5 test suites ran. (2002 ms total)
[ PASSED ] 7 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] WALTest.AppendAndReplay
1 FAILED TEST
real 0m2.026s
user 0m0.008s
sys 0m0.016s
Benchmark Results
root@595fa24b7c68:/app/build# ./benchmark/run_benchmark | tee benchmark_results.txt
[Benchmark] Initializing...
[Benchmark] SET throughput: 273306 ops/sec
Latency: 365.89ms
[Benchmark] GET throughput: 897644 ops/sec | Hits: 50000
Latency: 55.7014ms
[Benchmark] JSON Report: {"latency":5.5}
root@595fa24b7c68:/app/build#