In [1]:
%%%time
%%time is now on
Time: 00 s, 01 ms
In [2]:
x = None
for i in range(1000000):
    x is None
"Ok"
Time: 00 s, 379 ms
Out[2]:
Ok
In [3]:
x = None
for i in range(1000000):
    x == None
"Ok"
Time: 00 s, 424 ms
Out[3]:
Ok
In [4]:
%%%time
%%time is now off
Time: 00 s, 00 ms
In [ ]: