scylladb / scylla-bench

43 stars 36 forks source link

Output layout improvement #73

Open pveentjer opened 3 years ago

pveentjer commented 3 years ago

In the output the columns do not always line up:

12m41.2s  407603  407603      0 60ms   28ms   12ms   2.7ms  1.8ms  852µs  1.3ms  
12m41.6s  402153  402153      0 49ms   27ms   7.8ms  2.6ms  2ms    950µs  1.3ms  
12m41.7s  419139  419139      0 128ms  43ms   14ms   3.4ms  2.2ms  950µs  1.5ms  
12m42s  401019  401019      0 48ms   29ms   9.1ms  2.3ms  1.7ms  852µs  1.2ms  
12m42.2s  401227  401227      0 41ms   25ms   8.7ms  2.3ms  1.7ms  819µs  1.1ms  
12m42.6s  398582  398582      0 49ms   27ms   11ms   2.8ms  2ms    950µs  1.3ms  
12m42.7s  391801  391801      0 88ms   43ms   14ms   3.2ms  2.1ms  918µs  1.5ms  
12m43s  398790  398790      0 51ms   29ms   11ms   2.6ms  1.8ms  852µs  1.2ms  

So when there is no fractional part, everything is shifted 2 characters to the left.