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.

Slow execution speeds and repeated output

See original GitHub issue

Providers utilizing the utils.custom_code method perform slowly and output the same value several times when called repeatedly from the same program.

To replicate, update the comp.py file by replacing p.full_name() with p.telephone('###-###-####') on line 27. If you change the count to something small, say 50, and print out the output of p.telephone('###-###-####'), you’ll see that many of the generated phone numbers are identical.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sobolevncommented, Nov 15, 2017

Yeap, it really should. @gardnerjh thanks for this issue, it is already fixed in the newest version.

1reaction
lk-geimfaricommented, Nov 15, 2017

@sobolevn So, version 1.0.0 should work correctly, because i have fixed this issue a few days ago, here: utils.custom_code.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is Slow Processing Speed? - Understood.org
Slow processing speed is when people need a lot of time to take in, make sense of, and respond to information. The information...
Read more >
Do speeds of if statements in a repetitive loop affect overall ...
A slightly longer answer: It won't matter unless the loop is run millions of times and the other statement in it is actually...
Read more >
VI Execution Speed - NI - National Instruments
This section discusses factors that affect execution speed and ... Examine the following items to determine the causes of slow performance:.
Read more >
Troubleshooting Slow Running Flows - Microsoft Support
Cause. There are number of possible causes to slow running flows: The service you are connecting to is running slowly. For instance, a...
Read more >
Data simple - Speed up R - Luis Vale Silva
A major speed bottleneck in this code is caused by the repeated use of rbind() . The function rbind() is slow, particularly as...
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