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

added performance testing #119

Merged
merged 3 commits into from
Dec 6, 2024
Merged

added performance testing #119

merged 3 commits into from
Dec 6, 2024

Conversation

kailingding
Copy link
Contributor

@kailingding kailingding commented Dec 5, 2024

Changes:

  • added performance.test.ts using jest
  • Mainly testing on Zerox latency on PDFs with different number of pages and different concurrency params
  • added mock on openai call, and set timeout to 5s

Current test results:

image

To run the performance test (make sure to npm install first to install jest):

npm run test:performance

@annapo23
Copy link
Contributor

annapo23 commented Dec 6, 2024

LGTM 🚀

@kailingding kailingding merged commit 087f689 into main Dec 6, 2024
@kailingding kailingding deleted the mark/add-performance-test branch December 6, 2024 04:05
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.

2 participants