Page 1 of 1

profiling

Posted: Fri Oct 03, 2014 4:13 pm
by Turbinenreiter
I started writing a simple profiler:
https://github.com/turbinenreiter/micropython-uprofile

Before I did that, I looked into porting 'profile' from Cpython, which is a profiler written in python. However, it relies on 'compile', which isn't implemented yet.
In the meantime, this little helper may be useful.

Re: profiling

Posted: Sun Oct 12, 2014 11:26 am
by pfalcon
The way you do it, it would make more sense to port standard module "timeit" (https://docs.python.org/3/library/timeit.html) to https://github.com/micropython/micropython-lib

Re: profiling

Posted: Mon Oct 13, 2014 12:32 pm
by Turbinenreiter
timeit also needs compile.