Could ic also print timing information?
Author: kachCreated Aug 2, 2024Updated Jul 28, 2026
I often use ic to print intermediate values of computations that might take a little bit of time. It would be great if there were an optional mode where ic would print not only the value of the computation, but also the amount of time taken. For example, something like:
ic| test.py:174 in <module>
f(300): 3.9 <1m11.744s>Source: gruns/icecream