Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#3213) - perf: don't store id and rev (idb) #3213

Closed
wants to merge 1 commit into from
Closed

Conversation

nolanlawson
Copy link
Member

There's no need to store the _id and _rev if
we already have _doc_id_rev. For map/reduce especially,
this takes up a lot of unnecessary space.

There's no need to store the _id and _rev if
we already have _doc_id_rev. For map/reduce especially,
this takes up a lot of unnecessary space.
@nolanlawson
Copy link
Member Author

I'll add some perf numbers to justify this later; just want to make sure the tests are green.

@nolanlawson
Copy link
Member Author

5 iterations, temp-views

Chrome 39: 55341ms -> 53254ms (3.77% improvement)
Firefox 36: 93784ms -> 93099ms (0.73% improvement)

Not a huge improvement, but we are also using up less space. So I endorse this PR. :)

nolanlawson added a commit that referenced this pull request Dec 20, 2014
There's no need to store the _id and _rev if
we already have _doc_id_rev. For map/reduce especially,
this takes up a lot of unnecessary space.
@daleharvey
Copy link
Member

Looks good to me - 62155b9

@daleharvey daleharvey closed this Dec 20, 2014
@nolanlawson nolanlawson mentioned this pull request Dec 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants