forked from spyder-ide/spyder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
profiling.txt
31 lines (21 loc) · 1.04 KB
/
profiling.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Profile test results:
====================
The following shows that the Workspace refresh method is responsible for the
observed lack of performance.
--light: 30ms
(same as IPython PyQt4 frontend which implementation is far more simple)
No option (or --numpy, or --scipy): 50-60ms
When Explorer widget is disabled (.spyder.ini): 30ms
--all or --pylab :
* Workspace auto-refresh is disabled: 50-60ms
* Workspace is empty: 140ms
* Workspace contains 2 numpy arrays (shape: (1, 2e5)):
- workspace hidden : 140ms
- workspace visible : 300ms -> adding more arrays: 80ms/array of this size
-> proportionnal to array size
-> show complete values: ~2-3ms/array!
==> Explorer contribution: ~30ms -> solved by refreshing only when necessary
==> Workspace contribution: ~80ms when empty
-> when Workspace is hidden: the most time consuming task is filtering
=> Workspace lack of performance solved too! -> was due to a CONF.get within a
loop... duh...