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

Fix Lua API performance by caching #413

Merged
merged 4 commits into from
Nov 15, 2021
Merged

Conversation

sayanarijit
Copy link
Owner

Fixes: #412

@cloudflare-pages
Copy link

cloudflare-pages bot commented Nov 15, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: c505585
Status: ✅  Deploy successful!
Preview URL: https://bea6391f.xplr.pages.dev

View logs

@sayanarijit sayanarijit force-pushed the fix/lua-api-performance branch 4 times, most recently from 0f53802 to 1525748 Compare November 15, 2021 05:26
@sayanarijit
Copy link
Owner Author

sayanarijit commented Nov 15, 2021

Doesn't feel like any issue, but the benchmark is terrible. Need to optimize more.

Seems like there's something wrong with the benchmark tests because I see no way it could impact benchmark. The whole overhead should only apply to plugins.

  • Except for changing directory.

@sayanarijit sayanarijit force-pushed the fix/lua-api-performance branch 3 times, most recently from 4cf119a to 5146f36 Compare November 15, 2021 07:51
@sayanarijit
Copy link
Owner Author

Since this is a critical change for being able to use some plugins, I'll be merging this, and create a separate issue for investigating what's with the benchmark.

@sayanarijit sayanarijit merged commit 5b71007 into main Nov 15, 2021
@sayanarijit sayanarijit deleted the fix/lua-api-performance branch November 15, 2021 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Performance of a content renderer for the DynamicParagraph
1 participant