Skip to content

Instantly share code, notes, and snippets.

@geshan
Last active March 13, 2021 10:42
Show Gist options
  • Save geshan/3c025138534fca0f6f85125ce96b9f13 to your computer and use it in GitHub Desktop.
Save geshan/3c025138534fca0f6f85125ce96b9f13 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.zeet.app/quotes" \
| vegeta attack -duration=30s -rate=50 -output=results-veg-no-mem.bin && cat results-veg-no-mem.bin \
| vegeta plot --title="Quotes API before memozie" > quotes-api-before-memoize.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment