Skip to content

Instantly share code, notes, and snippets.

@geshan
Last active March 13, 2021 10:40
Show Gist options
  • Save geshan/df7fd64a191e9783c12d890a5b5ddc95 to your computer and use it in GitHub Desktop.
Save geshan/df7fd64a191e9783c12d890a5b5ddc95 to your computer and use it in GitHub Desktop.
Markdium-Javascript memoization: a practical example for better HTTP performance
echo "GET https://geshan-nodejs-posgresql-memoize.zeet.app/quotes" \
| vegeta attack -duration=30s -rate=50 -output=results-veg-mem.bin && cat results-veg-mem.bin \
| vegeta plot --title="Quotes API after memozie" > quotes-api-after-memoize.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment