MatrixAI / js-encryptedfs

Encrypted Filesystem for TypeScript/JavaScript Applications
https://polykey.com
Apache License 2.0
10 stars 3 forks source link

Benchmark the EFS #76

Open CMCDragonkai opened 1 year ago

CMCDragonkai commented 1 year ago

Currently the benchmarks don't actually bench the EFS itself.

However it would be dominated by the speed of the crypto and DB. DB already has its own benchmarks, so crypto benchmarks should be removed once crypto is abstracted out when we rework the crypto with PK.

Tasks

CMCDragonkai commented 1 month ago

Based on an initial benchmark in the git/vaults refactoring ENG-68 https://github.com/MatrixAI/Polykey/issues/298

image.png

It's possible that crypto functions results in a 2x speed. However this would be better confirmed by doing it directly on EFS.