Skip to content

Commit 6cd6735

Browse files
authored
Update TodoMVC-Jaspr-* benchmarks with newer Jaspr & Dart SDK (#530)
This adopts some API changes in Jaspr framework (e.g. build methods no longer returning iterables but a single component, ...) and uses newer Dart2Wasm compiler
1 parent e2e2538 commit 6cd6735

File tree

9 files changed

+3214
-3043
lines changed

9 files changed

+3214
-3043
lines changed

experimental/todomvc-dart-jaspr/build.log

Lines changed: 83 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,69 @@
22
+ echo 'Current Dart SDK version'
33
Current Dart SDK version
44
+ dart --version
5-
Dart SDK version: 3.9.0-333.0.dev (dev) (Fri Jul 11 09:03:09 2025 -0700) on "macos_arm64"
5+
Dart SDK version: 3.10.7 (stable) (Tue Dec 23 00:01:57 2025 -0800) on "linux_x64"
66
+ echo 'Fetching dependencies'
77
Fetching dependencies
88
+ dart pub get
99
Resolving dependencies...
1010
Downloading packages...
11-
_fe_analyzer_shared 82.0.0 (85.0.0 available)
12-
analyzer 7.4.5 (7.5.7 available)
13-
analyzer_plugin 0.13.1 (0.13.4 available)
14-
dds 4.2.7 (5.0.4 available)
11+
build_daemon 4.0.4 (4.1.1 available)
12+
dds 4.2.7 (5.1.0 available)
1513
devtools_shared 10.0.2 (12.0.0 available)
1614
dtd 2.5.1 (4.0.0 available)
17-
dwds 24.3.5 (24.4.0 available)
15+
dwds 24.3.5 (26.2.3 available)
1816
json_rpc_2 3.0.3 (4.0.0 available)
1917
mime 1.0.6 (2.0.0 available)
2018
shelf_web_socket 2.0.1 (3.0.0 available)
2119
vm_service 14.3.1 (15.0.2 available)
2220
webdev 3.7.1 (3.7.2 available)
2321
Got dependencies!
24-
12 packages have newer versions incompatible with dependency constraints.
22+
10 packages have newer versions incompatible with dependency constraints.
2523
Try `dart pub outdated` for more information.
2624
+ echo 'Building dart2js version in -O4'
2725
Building dart2js version in -O4
2826
+ rm -rf build dist/out-dart2js-O4
2927
+ dart run jaspr_cli:jaspr build -O4 --extra-js-compiler-option=--disable-program-split
3028
Building jaspr for client rendering mode.
31-
⠋ Building web assets......⠙ Building web assets...... (1ms)✓ Completed building web assets. (11.8s)
29+
⠋ Building web assets......⠙ Building web assets...... (1ms)[BUILDER] Starting daemon...
30+
[BUILDER] About to build [web]...
31+
[BUILDER] 0s jaspr_builder:codec_bundle on 107 inputs; $sdk|lib/$lib$
32+
[BUILDER] 0s jaspr_builder:styles_bundle on 107 inputs; $sdk|lib/$lib$
33+
[BUILDER] 0s jaspr_builder:clients_bundle on 107 inputs; $sdk|lib/$lib$
34+
[BUILDER] 0s jaspr_builder:codec_module on 3136 inputs; collection|lib/algorithms.dart
35+
[BUILDER] 0s jaspr_builder:codec_module on 3136 inputs: 1 no-op; collection|lib/collection.dart
36+
[BUILDER] 0s jaspr_builder:styles_module on 3137 inputs; collection|lib/algorithms.dart
37+
[BUILDER] 0s jaspr_builder:client_module on 3140 inputs; collection|lib/algorithms.dart
38+
[BUILDER] 0s jaspr_builder:styles_module on 3137 inputs: 2433 no-op; build_runner|lib/src/commands/build_command.dart
39+
[BUILDER] 1s jaspr_builder:styles_module on 3137 inputs: 2783 no-op; jaspr|lib/src/dom/styles/properties/all.dart
40+
[BUILDER] 2s jaspr_builder:client_module on 3140 inputs: 2754 no-op; spent 1s analyzing; jaspr|lib/src/client/client_binding.dart
41+
[BUILDER] 5s jaspr_builder:codec_module on 3136 inputs: 2875 no-op; spent 4s analyzing; jaspr_builder|lib/src/codec/codec_bundle_builder.dart
42+
[BUILDER] 5s jaspr_builder:client_module on 3140 inputs: 3019 no-op; spent 4s analyzing; jaspr_cli|lib/src/migrations/html_helper_migration.dart
43+
[BUILDER] 5s jaspr_builder:codec_module on 3136 inputs: 3136 no-op; spent 4s analyzing
44+
[BUILDER] 0s jaspr_builder:codec_bundle on 107 inputs: 107 no-op
45+
[BUILDER] 0s jaspr_builder:sync_mixins_module on 3 inputs; lib/app.dart
46+
[BUILDER] 0s jaspr_builder:sync_mixins_module on 3 inputs: 3 no-op
47+
[BUILDER] 2s jaspr_builder:styles_module on 3137 inputs: 2 skipped, 3135 no-op; spent 1s analyzing
48+
[BUILDER] 0s jaspr_builder:styles_bundle on 107 inputs: 107 no-op
49+
[BUILDER] 0s jaspr_builder:imports_module on 6 inputs; lib/app.dart
50+
[BUILDER] 0s jaspr_builder:imports_module on 6 inputs: 3 skipped, 3 no-op
51+
[BUILDER] 0s jaspr_builder:stub on 1 input; lib/$lib$
52+
[BUILDER] 0s jaspr_builder:stub on 1 input: 1 no-op
53+
[BUILDER] 5s jaspr_builder:client_module on 3140 inputs: 5 skipped, 1 output, 3134 no-op; spent 4s analyzing
54+
[BUILDER] 0s jaspr_builder:clients_bundle on 107 inputs: 1 output, 106 no-op
55+
[BUILDER] 0s jaspr_builder:import_output on 6 inputs; lib/app.imports.json
56+
[BUILDER] 0s jaspr_builder:import_output on 6 inputs: 6 skipped
57+
[BUILDER] 0s build_web_compilers:entrypoint_marker on 1 input; web/$web$
58+
[BUILDER] 0s build_web_compilers:entrypoint_marker on 1 input: 1 no-op
59+
[BUILDER] 0s build_web_compilers:entrypoint on 4 inputs; web/main.dart
60+
[BUILDER] build_web_compilers:entrypoint on web/main.dart:
61+
[BUILDER] Running `dart compile js` with -Djaspr.flags.release=true -O4 --disable-program-split --libraries-spec=/usr/local/google/home/kustermann/Downloads/dart-sdk/lib/libraries.json --packages=org-dartlang-app:///.dart_tool/package_config.json --multi-root-scheme=org-dartlang-app --multi-root=/tmp/scratch_spaceGRFOLT/ -oweb/main.dart.js org-dartlang-app:///web/main.dart
62+
[BUILDER] build_web_compilers:entrypoint on web/main.dart:
63+
[BUILDER] Compiled 13,679,467 input bytes (8,684,593 characters source) to 125,106 characters JavaScript in 1.76 seconds
64+
[BUILDER] 2s build_web_compilers:entrypoint on 4 inputs: 1 output; spent 2s building; web/main.imports.dart
65+
[BUILDER] 2s build_web_compilers:entrypoint on 4 inputs: 3 skipped, 1 output; spent 2s building
66+
[BUILDER] Built with build_runner/jit in 19s; wrote 769 outputs.
67+
Completed building web assets.
3268
Completed building project to /build/jaspr.
3369
+ mkdir -p dist/out-dart2js-O4
3470
+ cp build/jaspr/index.html build/jaspr/base.css build/jaspr/index.css build/jaspr/favicon.ico build/jaspr/main.dart.js dist/out-dart2js-O4
@@ -37,7 +73,45 @@ Building dart2js version in -O4
3773
+ rm -rf build dist/out-dart2wasm-O2
3874
+ dart run jaspr_cli:jaspr build -O2 --experimental-wasm
3975
Building jaspr for client rendering mode.
40-
⠋ Building web assets......⠙ Building web assets...... (1ms)✓ Completed building web assets. (12.4s)
76+
⠋ Building web assets......⠙ Building web assets...... (1ms)[BUILDER] Starting daemon...
77+
[BUILDER] About to build [web]...
78+
[BUILDER] 0s jaspr_builder:codec_bundle on 107 inputs; $sdk|lib/$lib$
79+
[BUILDER] 0s jaspr_builder:styles_bundle on 107 inputs; $sdk|lib/$lib$
80+
[BUILDER] 0s jaspr_builder:clients_bundle on 107 inputs; $sdk|lib/$lib$
81+
[BUILDER] 0s jaspr_builder:codec_module on 3136 inputs; collection|lib/algorithms.dart
82+
[BUILDER] 0s jaspr_builder:codec_module on 3136 inputs: 1 no-op; collection|lib/collection.dart
83+
[BUILDER] 0s jaspr_builder:styles_module on 3137 inputs; collection|lib/algorithms.dart
84+
[BUILDER] 0s jaspr_builder:client_module on 3140 inputs; collection|lib/algorithms.dart
85+
[BUILDER] 0s jaspr_builder:client_module on 3140 inputs: 2483 no-op; posix|lib/src/bindings/mac_part2.dart
86+
[BUILDER] 1s jaspr_builder:styles_module on 3137 inputs: 2783 no-op; jaspr|lib/src/dom/styles/properties/all.dart
87+
[BUILDER] 2s jaspr_builder:client_module on 3140 inputs: 2754 no-op; spent 2s analyzing; jaspr|lib/src/client/client_binding.dart
88+
[BUILDER] 5s jaspr_builder:codec_module on 3136 inputs: 2875 no-op; spent 4s analyzing; jaspr_builder|lib/src/codec/codec_bundle_builder.dart
89+
[BUILDER] 5s jaspr_builder:client_module on 3140 inputs: 3019 no-op; spent 4s analyzing; jaspr_cli|lib/src/migrations/html_helper_migration.dart
90+
[BUILDER] 6s jaspr_builder:codec_module on 3136 inputs: 3136 no-op; spent 4s analyzing
91+
[BUILDER] 0s jaspr_builder:codec_bundle on 107 inputs: 107 no-op
92+
[BUILDER] 0s jaspr_builder:sync_mixins_module on 3 inputs; lib/app.dart
93+
[BUILDER] 0s jaspr_builder:sync_mixins_module on 3 inputs: 3 no-op
94+
[BUILDER] 2s jaspr_builder:styles_module on 3137 inputs: 2 skipped, 3135 no-op; spent 1s analyzing
95+
[BUILDER] 0s jaspr_builder:styles_bundle on 107 inputs: 107 no-op
96+
[BUILDER] 0s jaspr_builder:imports_module on 6 inputs; lib/app.dart
97+
[BUILDER] 0s jaspr_builder:imports_module on 6 inputs: 3 skipped, 3 no-op
98+
[BUILDER] 0s jaspr_builder:stub on 1 input; lib/$lib$
99+
[BUILDER] 0s jaspr_builder:stub on 1 input: 1 no-op
100+
[BUILDER] 5s jaspr_builder:client_module on 3140 inputs: 5 skipped, 1 output, 3134 no-op; spent 4s analyzing
101+
[BUILDER] 0s jaspr_builder:clients_bundle on 107 inputs: 1 output, 106 no-op
102+
[BUILDER] 0s jaspr_builder:import_output on 6 inputs; lib/app.imports.json
103+
[BUILDER] 0s jaspr_builder:import_output on 6 inputs: 6 skipped
104+
[BUILDER] 0s build_web_compilers:entrypoint_marker on 1 input; web/$web$
105+
[BUILDER] 0s build_web_compilers:entrypoint_marker on 1 input: 1 no-op
106+
[BUILDER] 0s build_web_compilers:entrypoint on 4 inputs; web/main.dart
107+
[BUILDER] build_web_compilers:entrypoint on web/main.dart:
108+
[BUILDER] Running `dart compile wasm` with --packages=org-dartlang-app:///.dart_tool/package_config.json -E--multi-root-scheme=org-dartlang-app -E--multi-root=/tmp/scratch_spaceHCUCGC/ -Djaspr.flags.release=true -O2 -o web/main.wasm org-dartlang-app:///web/main.dart
109+
[BUILDER] build_web_compilers:entrypoint on web/main.dart:
110+
[BUILDER] Generated wasm module 'web/main.wasm', and JS init file 'web/main.mjs'.
111+
[BUILDER] 3s build_web_compilers:entrypoint on 4 inputs: 1 output; spent 3s building; web/main.imports.dart
112+
[BUILDER] 3s build_web_compilers:entrypoint on 4 inputs: 3 skipped, 1 output; spent 3s building
113+
[BUILDER] Built with build_runner/jit in 20s; wrote 770 outputs.
114+
Completed building web assets.
41115
Completed building project to /build/jaspr.
42116
+ mkdir -p dist/out-dart2wasm-O2
43117
+ cp build/jaspr/index.html build/jaspr/base.css build/jaspr/index.css build/jaspr/favicon.ico build/jaspr/main.dart.js build/jaspr/main.mjs build/jaspr/main.wasm dist/out-dart2wasm-O2

0 commit comments

Comments
 (0)