-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blobstore/filestore: cache Info for a second
this shows up in speed profiles as a hot spot on windows. in a test of 50k pieces, it took 67 seconds out of 145 seconds, leaving 78 total seconds so we should see a reduction of 78/50000 or 0.1% of the time, or ~600ms. should be good enough and still maintain enough freshness for it to do a good enough job enforcing the available space on the piece upload. Change-Id: Iaaff8b7739c52bcb5313c283c5aa3750c9f9139f
- Loading branch information
1 parent
5bf9a60
commit 2b13d98
Showing
2 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters