|
Instead of having a hashmap with a function pointer defining its
matching function, creates a hashmap the specialises the case of keys
that simply check pointer equality.
I measure an average ~1% improvement on Octane code-load.
Committed: https://crrev.com/050bf39d85e592f86bfb89c7ea6819a3e152dd00
Cr-Commit-Position: refs/heads/master@{#39920}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+207 lines, -182 lines) |
Patch |
|
M |
src/arm/simulator-arm.h
|
View
|
1
2
3
|
4 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/arm/simulator-arm.cc
|
View
|
1
2
3
|
6 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/arm64/simulator-arm64.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/arm64/simulator-arm64.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/asmjs/asm-typer.cc
|
View
|
1
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/asmjs/asm-wasm-builder.cc
|
View
|
1
|
3 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/ast/ast.h
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ast/ast.cc
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-value-factory.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ast/scopes.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/base/hashmap.h
|
View
|
1
|
6 chunks |
+31 lines, -15 lines |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/compiler/state-values-utils.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen-bce.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen-bce.cc
|
View
|
|
1 chunk |
+9 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/d8.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/mark-compact.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/heap/spaces.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/interpreter/constant-array-builder.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/isolate.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/mips/simulator-mips.h
|
View
|
1
2
3
|
4 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/mips/simulator-mips.cc
|
View
|
1
2
|
6 chunks |
+15 lines, -10 lines |
0 comments
|
Download
|
|
M |
src/mips64/simulator-mips64.h
|
View
|
1
2
3
|
4 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/mips64/simulator-mips64.cc
|
View
|
1
2
3
|
6 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/parsing/duplicate-finder.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ppc/simulator-ppc.h
|
View
|
1
2
3
|
4 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ppc/simulator-ppc.cc
|
View
|
1
2
3
|
6 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/profiler/heap-snapshot-generator.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/profiler/heap-snapshot-generator.cc
|
View
|
1
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
|
M |
src/profiler/profile-generator.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/profiler/strings-storage.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime.cc
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/s390/simulator-s390.h
|
View
|
1
2
3
|
4 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/s390/simulator-s390.cc
|
View
|
1
2
3
|
6 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/zone/zone.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-api.cc
|
View
|
1
|
3 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-hashmap.cc
|
View
|
1
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-heap-profiler.cc
|
View
|
|
2 chunks |
+2 lines, -11 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 26 (16 generated)
|