question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

import cirq takes around 1.5 seconds (this is in colab).

Would be nice to get some other numbers from users as to what they are seeing.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

3reactions
vtomolecommented, Jun 3, 2020

Ubuntu 18.04

(venv3.6) vtomole@vtomole:~$ python -c 'import time; time.sleep(1); t1 = time.monotonic(); import cirq; t2 = time.monotonic(); print(t2-t1)'
4.911438770999666
0reactions
dabaconcommented, Nov 11, 2021

Using tuna, the top offenders are numpy, sympy, matplotlib, pandas, and networkx. We’ve added code #4653 to do LazyLoading for scipy which was also slow. The good news is that the problem is mostly these external deps, not cirq.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slow Running Import Fixes And Workarounds
Are your imports running slower than you expected? This guide will walk you through common causes and how to resolve them.
Read more >
How to improve the import speed?
The main culprits that slow down the import speed are: Huge data in CSV; External images and URLs; Bulky database; Shared hosts; Lack...
Read more >
Troubleshooting Data Import Speed
If the data import you have is slow read this list and find the reason why it happens. Try to avoid situations that...
Read more >
Imports Really Slow
I am currently running an import and it took 13 hours to update only the title and slug of 4800 products! Here are...
Read more >
** Troubleshooting ** Slow performance when importing ...
Scenario #7 - The import file (CSV/TXT) is corrupt, or unusually large. Resolving The Problem. Scenario #1. (1) Reduce the size of XACCLOCK....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found