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.

Improve performance/run time

See original GitHub issue

I have just realised that the ssh connection method ConnectHandler(**data) takes ~4s !!! any chance to improve it? When trying to run with Ansible this just creates 7s !!! tasks which in my opinion is not satisfactory.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
ktbyerscommented, Aug 9, 2018

Implemented improved send_command() in PR #910 (feel free to test and comment there).

Also fast_cli=True can be passed to ConnectHandler which implements a different set of performance improvements.

1reaction
johnarnoldcommented, Aug 10, 2017

@ddfrathb I noticed the search every line issue and logged it with suggested fix in https://github.com/ktbyers/netmiko/issues/427

If somebody has the time to code it up I can test it. I just haven’t had time to code it myself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Run Faster: Expert Tips to Pick Up the Pace - Verywell Fit
Fast runners are often well-rested runners. So, one of the smartest ways to improve your running performance is to get enough shut-eye. The ......
Read more >
How to Run Faster: 4 Steps to Increase Your Running Speed
1. Increase your mileage each week. · 2. Listen to your body. · 3. Add speed to your long runs. · 4. Do...
Read more >
7 Strategies to Improve Your Running Performance
Incorporate interval training and speed workouts.​​ One of the best ways to improve your running performance is to incorporate more focused speed ...
Read more >
How To Boost JavaScript Runtime Performance
The Basics · Use Brotli · Use http2 · Use webp and a CDN that can dynamically resize and serve the most efficient...
Read more >
Tips to improve PC performance in Windows - Microsoft Support
If your PC is running slowly, the following suggestions might help speed things up. The tips are listed in order, so start with...
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