Files
sdk/pkg/_fe_analyzer_shared
Jens Johansen bd0fa88e0b [parser] Inline first part of _tryRewriteNewToIdentifier
pkg/analyzer/lib/src/dart/ast/ast.dart:

JIT (tokens per microsecond):
1.3425% +/- 1.0526% (0.33 +/- 0.26) (24.64 -> 24.98)

AOT (tokens per microsecond):
1.1587% +/- 0.7860% (0.38 +/- 0.26) (32.45 -> 32.83)

Benchmarker (AOT):
```
instructions:u: -1.9853% +/- 0.0000% (-439384607.18 +/- 518.28) (22131742462.46 -> 21692357855.28)
```

pkg/front_end/lib/src/type_inference/inference_visitor.dart:

JIT (tokens per microsecond):
1.4245% +/- 0.7653% (0.28 +/- 0.15) (19.90 -> 20.18)

AOT (tokens per microsecond):
1.7105% +/- 0.8890% (0.45 +/- 0.23) (26.25 -> 26.70)

Benchmarker (AOT):
```
msec task-clock:u: -1.3071% +/- 0.8717% (-30.64 +/- 20.44) (2344.53 -> 2313.89)

page-faults:u: -0.0097% +/- 0.0084% (-0.96 +/- 0.84) (9945.42 -> 9944.46)
cycles:u: -1.4071% +/- 0.8701% (-143026423.34 +/- 88437058.62) (10164329405.06 -> 10021302981.72)
instructions:u: -2.2650% +/- 0.0000% (-488077498.12 +/- 960.50) (21548947043.38 -> 21060869545.26)
branch-misses:u: -3.7824% +/- 3.3800% (-1316798.12 +/- 1176704.41) (34813893.88 -> 33497095.76)
seconds time elapsed: -1.3039% +/- 0.8711% (-0.03 +/- 0.02) (2.35 -> 2.32)
seconds user: -1.3918% +/- 0.8962% (-0.03 +/- 0.02) (2.32 -> 2.29)
```
Change-Id: Ide847121b70db8564f1ea7f9d77ea5d63da1d6ac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/443081
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2025-07-31 05:44:50 -07:00
..
2025-02-19 09:33:31 -08:00

FE/analyzer shared code

This package contains logic that is shared between the front_end and analyzer packages. It is intended solely to facilitate development of the Dart SDK, and is not intended for use by end users. In particular, this package has no public API, so no guarantee is made of compatibility between one version of the package and the next.

End users should consider using the analyzer package to analyze Dart source code.