File tree 1 file changed +13
-8
lines changed
1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
1
## Example profile for heat equation solver
2
2
3
3
```
4
- 205595 function calls (201921 primitive calls) in 42.096 seconds
4
+ 591444 function calls (582598 primitive calls) in 15.498 seconds
5
5
6
6
Ordered by: internal time
7
- List reduced from 2229 to 10 due to restriction <10>
7
+ List reduced from 3224 to 10 due to restriction <10>
8
8
9
9
ncalls tottime percall cumtime percall filename:lineno(function)
10
- 200 41.641 0.208 41.679 0.208 evolve.py:3(evolve)
11
- 2 0.067 0.033 0.067 0.033 {built-in method write_png}
12
- 40015 0.039 0.000 0.039 0.000 {range}
13
- 1 0.022 0.022 0.029 0.029 __init__.py:23(<module>)
14
- 2 0.020 0.010 0.020 0.010 {built-in method resize}
15
- 2245 0.012 0.000 0.012 0.000 {numpy.core.multiarray.array}
10
+ 200 14.837 0.074 14.837 0.074 heat.py:9(evolve)
11
+ 2 0.070 0.035 0.070 0.035 {built-in method matplotlib._png.write_png}
12
+ 241 0.052 0.000 0.052 0.000 {built-in method marshal.loads}
13
+ 2467 0.023 0.000 0.040 0.000 inspect.py:614(cleandoc)
14
+ 1052/959 0.023 0.000 0.066 0.000 {built-in method builtins.__build_class__}
15
+ 33/31 0.018 0.001 0.023 0.001 {built-in method _imp.create_dynamic}
16
+ 3228 0.014 0.000 0.014 0.000 {built-in method numpy.array}
17
+ 40000 0.014 0.000 0.017 0.000 npyio.py:771(floatconv)
18
+ 274/1 0.013 0.000 15.498 15.498 {built-in method builtins.exec}
19
+ 556 0.011 0.000 0.011 0.000 <frozen importlib._bootstrap>:78(acquire)
20
+
16
21
```
You can’t perform that action at this time.
0 commit comments