Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Default referenceCount from 64 to 32 #55

Merged
merged 1 commit into from
Aug 27, 2019
Merged

Conversation

aphelionz
Copy link
Contributor

@aphelionz aphelionz commented May 13, 2019

This PR:

  • Reduces the default referenceCount option from 64 to 32, which gives a substantial gain in append performance due to less IPLD traversal.
  • Changes the caching schema to be by key instead of by store which further reduces unnecessary store opening/closing
  • Adds automated testing and CI for both node and the browser 🎉

@aphelionz aphelionz force-pushed the fix/store-performance branch 2 times, most recently from ff04580 to 69bae47 Compare August 26, 2019 18:17
src/Store.js Outdated Show resolved Hide resolved
@shamb0t
Copy link
Contributor

shamb0t commented Aug 27, 2019

@aphelionz looks good to me! 🙏 Just a small suggestion in the comments + there are some new files created with make rebuild which can be added to .gitignore

fix: explicit path in cache

ipfs-log branch

final push

upgrading to new orbit-db-store and not closing cache

Some, but not all, tests

Adding CI files

Node tests first

Linting

webpack conf

Browser tests

Linting

Final changes

Mocha headless chrome

Using path module

New go-ipfs-dep, tests passing

Linting
@aphelionz aphelionz merged commit 65061b4 into master Aug 27, 2019
@aphelionz aphelionz deleted the fix/store-performance branch August 27, 2019 18:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants