enforce icon indicating copy to clipboard operation
enforce copied to clipboard

Profiling

Open TheDataLeek opened this issue 8 years ago • 4 comments

What are the performance considerations for users wishing to use this in a production environment?

TheDataLeek avatar Aug 17 '16 20:08 TheDataLeek

For now - Lists. Because they are fully evaluated before running the function, their performance will remain terrible till we switch to lazy evaluation of them.

I don't think there should be any other major performance problems.

RussBaz avatar Aug 17 '16 20:08 RussBaz

Yeah, that definitely is true for any iterable thing (except generators). Cause right now if you have a deep nested iterable thing, it will evaluate the entire structure beforehand...

I'm planning on making a new repo for profiling this. I'll keep you updated for the results.

TheDataLeek avatar Aug 17 '16 20:08 TheDataLeek

Sure, thanks.

RussBaz avatar Aug 17 '16 20:08 RussBaz

FYI, typeguard is checking the __debug__ constant, it could be nice to do the same here.

kevinboulain avatar May 25 '17 20:05 kevinboulain