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

Test benchmarks (will not be merged) #134

Closed
wants to merge 1 commit into from
Closed

Conversation

david-zk
Copy link
Contributor

@david-zk david-zk commented Sep 15, 2023

Added some code to print out time in ms for all fhe operations and also for how much time all tests have taken

To run tests:

# run codegen
npm run codegen
# run fhevm
npm run fhevm:start
# after it starts fund the wallet with faucet
npm run fhevm:faucet
# run the tests for tfhe operations
npx hardhat test test/tfheOperations/tfheOperations.ts

Benchmark results here (ran on my Apple M2 Max 12 core)
https://docs.google.com/spreadsheets/d/1c5kQjdrlFJQWrEVijBep_1o5ytnmhU0dwvKZd5ntsEM/edit#gid=0

@cla-bot cla-bot bot added the cla-signed label Sep 15, 2023
@david-zk
Copy link
Contributor Author

Issue resolved

@david-zk david-zk closed this Sep 19, 2023
@david-zk david-zk deleted the test-benchmarks branch September 19, 2023 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant