Adding benchmarks for git
domain to polykey
#717
Labels
development
Standard development
r&d:polykey:core activity 1
Secret Vault Sharing and Secret History Management
Specification
After refactoring the git domain in #709 and simpifying the git code significantly. I noticed that the performance when cloning wasn't that much improved. This was purely a vibes based observation so we need to add benchmarks to for the git domain to determine performance changes later down the line. This is very important so we can compare improvements when updating the
efs
andjs-db
repos to be more performant.Benchmarks will be added for each
git/http.ts
andgit/utils.ts
function to get an idea of which parts do the most processing. We will also add a full integration benchmark for doing an clone and pull example usingisomorphic-git
.Each benchmark will compare the following where apropriate.
fs
.efs
.RPC
.RPC
ANDefs
.We may not need to cover every function or example but being able to compare baseline
fs
withefs
andrpc
examples would be good for determining where the slowdowns are. I'm already pretty sure it's thedb
andefs
being the core source of the slowdown.Additional context
git/utils.ts
for Serving Vault Git Repositories #298git
domain to use async generators, remove readable-stream, simplify utilities #709Tasks
git
domain function and generator.fs
,efs
rpc
and the combo ofefs
+rpc
.The text was updated successfully, but these errors were encountered: