|
[Extensions] Use compiled feature files
Use generated compiled feature files instead of parsing the JSON at
runtime. In local testing, this shows an order-of-magnitude performance
increase, as well as catching a number of invalid features.
BUG= 280286
Committed: https://crrev.com/5c684983bc51d5a377fcc34dcdaa9363e9a9d7d3
Cr-Commit-Position: refs/heads/master@{#407511}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+544 lines, -155 lines) |
Patch |
|
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/extensions/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_common.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/common_resources.grd
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/BUILD.gn
|
View
|
|
3 chunks |
+48 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/_manifest_features.json
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/_permission_features.json
|
View
|
1
2
3
|
4 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/api.gyp
|
View
|
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/api/schemas.gni
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/chrome_extensions_client.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/chrome_extensions_client.cc
|
View
|
1
|
3 chunks |
+12 lines, -28 lines |
0 comments
|
Download
|
|
M |
chrome/common/extensions/manifest_tests/extension_manifests_platformapp_unittest.cc
|
View
|
1
|
1 chunk |
+16 lines, -15 lines |
0 comments
|
Download
|
|
M |
extensions/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
extensions/common/extensions_client.h
|
View
|
1
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
extensions/common/features/simple_feature.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
extensions/extensions.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
extensions/extensions_resources.grd
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
extensions/renderer/test_features_native_handler.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
extensions/shell/BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
extensions/shell/app_shell.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
extensions/shell/common/api/BUILD.gn
|
View
|
|
3 chunks |
+45 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/shell/common/api/api.gyp
|
View
|
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/shell/common/api/schemas.gni
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
extensions/shell/common/shell_extensions_client.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
extensions/shell/common/shell_extensions_client.cc
|
View
|
1
|
3 chunks |
+12 lines, -26 lines |
0 comments
|
Download
|
|
A |
extensions/test/BUILD.gn
|
View
|
1
2
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
|
A |
extensions/test/test_api.gyp
|
View
|
|
1 chunk |
+87 lines, -0 lines |
0 comments
|
Download
|
|
M |
extensions/test/test_extensions_client.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
extensions/test/test_extensions_client.cc
|
View
|
1
|
3 chunks |
+11 lines, -25 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/feature_compiler.py
|
View
|
1
|
5 chunks |
+36 lines, -12 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/test/BUILD.gn
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/test/features_generation_unittest.cc
|
View
|
1
|
5 chunks |
+16 lines, -3 lines |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/test/features_test.json
|
View
|
1
|
2 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
tools/json_schema_compiler/test/json_schema_compiler_tests.gyp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 46 (37 generated)
|