|
PPAPI: Reduce string copying in SerializedVar.
My performance test shows somewhere from 6-12% improvement. That's not bad, considering the test uses IPC, which outweighs most other work the proxy does.
I wanted to do this before proxying ArrayBuffer. I might try to do a little further refactoring in another CL.
BUG=
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=120479
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+175 lines, -112 lines) |
Patch |
 |
M |
ppapi/proxy/host_var_serialization_rules.h
|
View
|
|
1 chunk |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/host_var_serialization_rules.cc
|
View
|
1
2
3
|
4 chunks |
+26 lines, -21 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_var_serialization_rules.h
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/plugin_var_serialization_rules.cc
|
View
|
|
5 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppp_messaging_proxy_perftest.cc
|
View
|
1
2
|
2 chunks |
+13 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/serialized_var.h
|
View
|
|
7 chunks |
+24 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/serialized_var.cc
|
View
|
|
16 chunks |
+34 lines, -40 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/serialized_var_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/var_serialization_rules.h
|
View
|
1
2
|
3 chunks |
+23 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ppapi/shared_impl/var.h
|
View
|
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/shared_impl/var.cc
|
View
|
|
2 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|