I am testing the performance by drawing 1000 reticles all from (0,0,0) as following code:
print('plot version', plotly.__version__)
t1 = time.time()
for i in range(5, 15):
for j in range(5, 15):
for k in range(5, 15):
graph_objs.Scatter3d(
x=[0, i], y=[0, j], z=[0, k], mode='lines', showlegend=False)
print('delta t for 1000 points', time.time() - t1)`
Then I tested version 2 and 3 got following output:
plot version 2.0.13
delta t for 1000 points 0.0404090881348
plot version 3.4.2
delta t for 1000 points 2.66915583611
Itβs about 7X slower. Is there something I need to set specifically for new version to get back the same performance?