Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Issue 2747513003: Inline source maps as part of each script. (Closed)

Created:
3 years, 9 months ago by Jacob
Modified:
3 years, 9 months ago
Reviewers:
vsm
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/ddc-1.22.0-dev.10.6
Visibility:
Public.

Description

Inline source maps as part of each script. Unfortunately this is required as even with ideal caching, performing XHRs to load all source maps increased load times by ~5 seconds for large applications. Performance hit is now minimal. BUG= Committed: https://github.com/dart-lang/sdk/commit/bbaf2e5089a52b6628823eaa735722749acb574f

Patch Set 1 #

Total comments: 10

Patch Set 2 : Inline source maps as part of each script. #

Patch Set 3 : Inline source maps as part of each script. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -58 lines) Patch
M pkg/dev_compiler/lib/sdk/ddc_sdk.sum View 1 2 Binary file 0 comments Download
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M pkg/dev_compiler/lib/src/compiler/compiler.dart View 1 2 4 chunks +34 lines, -9 lines 0 comments Download
M pkg/dev_compiler/test/codegen_expected/BenchmarkBase.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/async_helper.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/closure.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/destructuring.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/es6_modules.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/map_keys.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/node_modules.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/script.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/sunflower/sunflower.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/test/codegen_expected/varargs.js View 1 2 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/tool/build_sdk.sh View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/rtti.dart View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M pkg/dev_compiler/web/stack_trace_mapper.dart View 1 2 5 chunks +25 lines, -36 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Jacob
Inline source maps as part of each script. Unfortunately this is required as even with ...
3 years, 9 months ago (2017-03-11 04:48:23 UTC) #2
vsm
https://codereview.chromium.org/2747513003/diff/1/pkg/dev_compiler/lib/src/compiler/compiler.dart File pkg/dev_compiler/lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2747513003/diff/1/pkg/dev_compiler/lib/src/compiler/compiler.dart#newcode446 pkg/dev_compiler/lib/src/compiler/compiler.dart:446: /// Unique identifier used to location where to insline ...
3 years, 9 months ago (2017-03-13 15:25:28 UTC) #3
Jacob
Committed patchset #3 (id:20001) manually as bbaf2e5089a52b6628823eaa735722749acb574f (presubmit successful).
3 years, 9 months ago (2017-03-13 15:50:10 UTC) #5
Jacob
https://codereview.chromium.org/2747513003/diff/1/pkg/dev_compiler/lib/src/compiler/compiler.dart File pkg/dev_compiler/lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2747513003/diff/1/pkg/dev_compiler/lib/src/compiler/compiler.dart#newcode446 pkg/dev_compiler/lib/src/compiler/compiler.dart:446: /// Unique identifier used to location where to insline ...
3 years, 9 months ago (2017-03-13 15:51:13 UTC) #6
vsm
3 years, 9 months ago (2017-03-13 17:21:25 UTC) #7
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698