mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

etcdctl/ctlv3: migrate cheggaaa/pb.v1 to cheggaaa/pb/v3 This commit also changes the format of the progress bar, from using a custom progress bar to the default provided by the library. Old behaviour: ./benchmarkv1 put 0 / 10000 B ! 0.00% 3987 / 10000 Boooooooooooooom ! 39.87% 10000 / 10000 Boooooooooooooooooooooooooooooooooooooooooooo! 100.00% 1s New behaviour: ./benchmark put 6536 / 10000 [----------------------->________________] 65.36% 7053 p/s 10000 / 10000 [---------------------------------------] 100.00% 7581 p/s Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>