couchbaselabs / couchbase-shell

Shell yeah!
http://couchbase.sh
Apache License 2.0
71 stars 16 forks source link

Keep track of runtime when faking data #37

Open ingenthr opened 4 years ago

ingenthr commented 4 years ago

As a way to show how quickly data is loaded, fake should take a timestamp before and after loading to print how long it took to load.

daschl commented 4 years ago

Wouldn't this make sense on our doc * methods instead? since this is where it "terminates" of sort, and then all the other single or bulk load operations would benefit from that

ingenthr commented 4 years ago

Yes, that's approximately what I meant. At least with a batch.

ingenthr commented 4 years ago

Idea too, curses output with how many done and how many ops/s.