Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize Code by Removing all Delays #7

Merged
merged 1 commit into from
Dec 15, 2023

Conversation

SudharakaP
Copy link
Member

@SudharakaP SudharakaP commented Dec 13, 2023

This removes all delay calls and makes make the code in accordance with Puppeteer best practices.

@SudharakaP
Copy link
Member Author

@yummyblabla : Okay this should do it I think. Removed all delay calls; this should make the execution faster; no more random delays. I've tested this as well. Will do some more tests and merge soon. 😸

@SudharakaP
Copy link
Member Author

From my current tests this cuts the execution time by half. From around 10 seconds to 5 seconds. 😉

@SudharakaP SudharakaP added the enhancement New feature or request label Dec 15, 2023
@SudharakaP SudharakaP changed the base branch from main to staging December 15, 2023 16:44
@SudharakaP SudharakaP merged commit 21ab8cf into staging Dec 15, 2023
2 checks passed
@SudharakaP SudharakaP deleted the feat/removing-delay-calls branch December 15, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant