Square CoCalc Logo
FeaturesSoftwarePricingInfoPoliciesShareSupport Try Sign InSign Up
Path: support / 2014-11-30-import_time.sagews

Examples for support purposes.

Views: 1079171
License: GPL3
Image: ubuntu2004-dev
Project: Support and Testing
Raw | Embed | Download |
%time import jinja2 # first ever import takes potentially longer, though not here since it is already imported
CPU time: 0.03 s, Wall time: 0.18 s
%time import jinja2 # now fast
CPU time: 0.00 s, Wall time: 0.00 s
%timeit import jinja2
625 loops, best of 3: 515 ns per loop
def f(): import jinja2
%timeit f()
625 loops, best of 3: 606 ns per loop