Closed brentvatne closed 10 years ago
No interest in this @pengwynn? :santa:
Very cool! Somehow I wasn't watching my own repo, thanks for pinging me. :grinning:
Haha thanks @pengwynn - we should probably remove the benchmarking code from there now though ;) I'll do that for you.
Ha, I read right over that in the diff. I thought it was just in the example. Thanks.
@pengwynn
Removed benchmarking here: https://github.com/pengwynn/rdio-cli/commit/771b06afd2997dabbcf5098cf1b6ae160b43d62e
Also c
was a pre-existing shortcut for current
, so I just made the console open with rdio console
for now: https://github.com/pengwynn/rdio-cli/commit/7067967e22fee9baab4cf5775b49d1794305f92c
If you're using the cli frequently, you have to deal with the boot up time of the interpreter, loading of libraries etc that adds a good 1.5s to each command, at least on my machine. So I thought it might be useful to have a console command that will just allow us to maintain a rdio-cli session open and skip that boot time.
For example, without console:
With console:
Benchmarking code left in so you can give it a try yourself.