#75 add cal_time decorator to calculate spent time of methods for devs
Closed by mikem. Opened by julian8628.
julian8628/koji cal-time  into  master

Download 75.patch

add @cal_time or @cal_time(logger=logger) to print the time on sysout or log
- only for tester / developer

I'm :-1: to adding this. It's a cool idea, but it seems like something that should live in its own package.

@julian8628, maybe try extracting this to its own cal_time module. You could make it an it a project, put it on pypi. And then, when you're developing on koji, just install it and use it. That way, you could just as easily use it on other projects as well.

I recommend we close the PR without merging.

Thanks @ralph
Agree with you

Pull-Request has been closed by mikem

Metadata