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

Improve InternalModel (2x - 3x faster) #3641

Merged
merged 2 commits into from
Aug 12, 2015

Conversation

stefanpenner
Copy link
Member

No description provided.

@stefanpenner stefanpenner changed the title Improve InternalModel (2x - 3x) allocation cost. Improve InternalModel (2x - 3x faster) Aug 12, 2015
@stefanpenner stefanpenner force-pushed the internal-model branch 2 times, most recently from f8a0268 to b6109d0 Compare August 12, 2015 07:24
var _extractPivotNameCache = Object.create(null);
var _splitOnDotCache = Object.create(null);
var _extractPivotNameCache = new EmberObject();
var _splitOnDotCache = new EmberObject();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't you mean EmptyObject here too?

@stefanpenner
Copy link
Member Author

Lol late night patches. Will fix when I get to work

@fivetanley
Copy link
Member

How do we measure the speed?

@stefanpenner
Copy link
Member Author

How do we measure the speed?

how do you, or how did I?

I just through together a quick one-off manual test. But the composed improvements are each well known to be very very worth while.

@stefanpenner
Copy link
Member Author

i'll look at the tests shortly, i was an idiot and started moving other stuff around :P

@stefanpenner
Copy link
Member Author

i think travis is in a bad state, the UI seems funky telling me this project isn't setup/configured.

Tests appear green locally.

@stefanpenner
Copy link
Member Author

@fivetanley @wecc @igorT any ideas whats up with travis and ED ?

screen shot 2015-08-12 at 11 57 37 am

cc @drogus

@stefanpenner
Copy link
Member Author

looks like a test failure unrelated to this PR, it is present on master as is.

Investigating

…tly (I’m pretty sure i wrote the test in question…)
stefanpenner added a commit that referenced this pull request Aug 12, 2015
Improve InternalModel (2x - 3x faster)
@stefanpenner stefanpenner merged commit 1c47ffa into emberjs:master Aug 12, 2015
@stefanpenner stefanpenner deleted the internal-model branch August 12, 2015 20:37
jnfisher added a commit to jnfisher/data that referenced this pull request Aug 22, 2015
emberjs#3641 Improve InternalModel (2x - 3x faster)
emberjs#3649 Empty object
XrXr pushed a commit to XrXr/data that referenced this pull request Sep 3, 2015
emberjs#3641 Improve InternalModel (2x - 3x faster)
emberjs#3649 Empty object
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

4 participants