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

Add measurement for caching project content. #9905

Merged
merged 1 commit into from
Dec 4, 2014

Conversation

busykai
Copy link
Contributor

@busykai busykai commented Nov 12, 2014

This adds a measurement for creating project index (caching all the file and directory stats).

@redmunds
Copy link
Contributor

redmunds commented Dec 4, 2014

@busykai This looks good, but I am noticing something unexpected about the data. It seems that the first project always has 2 entries: first a slow entry, then a fast one. Simply start Brackets and immediately look at the data. Cache seems to be getting reset. I guess it's not a big deal because files are loaded in memory for second pass, just curious.

@redmunds
Copy link
Contributor

redmunds commented Dec 4, 2014

Merging.

redmunds added a commit that referenced this pull request Dec 4, 2014
Add measurement for caching project content.
@redmunds redmunds merged commit dd2c1e9 into master Dec 4, 2014
@busykai
Copy link
Contributor Author

busykai commented Dec 4, 2014

@redmunds, that's weird. I only see one number. If I go to Debug -> Show performance data real quick after start up, I don't see anything -- because it's not done yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants