• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dart-lang / native / 15063664918
82%

Build:
DEFAULT BRANCH: main
Ran 16 May 2025 08:03AM UTC
Jobs 16
Files 146
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 May 2025 08:02AM UTC coverage: 83.667% (-8.0%) from 91.694%
15063664918

push

github

web-flow
[hooks_runner] Optimize the no hooks path (#2302)

Bug: https://github.com/dart-lang/native/issues/2236

Optimize the code paths for when there are no hooks (speeds up standalone Dart).

* Return early in various places, and check if there are hooks at all as first thing.
* Write JSON encoding instead of YAML encoding. 17 ms -> 1 ms on a small JSON object. (And JSON is valid YAML.)

After this the longest running part in `dartdev` is loading the `package_config.json`: 10 ms. We can't really avoid this because we need that info to check whether we have any hooks that need running. And the `package_config.json` isn't already loaded by dartdev (in contrast to `flutter_tools` where we have a `PackageConfig` object available). dartdev delegates compilation to `package:pub`(!) via `getExecutableForCommand` and that API uses the package config file path. https://github.com/dart-lang/pub/issues/4067

9 of 9 new or added lines in 3 files covered. (100.0%)

8852 of 10580 relevant lines covered (83.67%)

40.9 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
2 code_assets_macos 15063664918.2 16 May 2025 08:06AM UTC 12
72.89
GitHub Action Run
3 code_assets_windows 15063664918.3 16 May 2025 08:11AM UTC 12
72.89
GitHub Action Run
4 native_toolchain_c_windows 15063664918.4 16 May 2025 08:06AM UTC 26
79.12
GitHub Action Run
5 code_assets_ubuntu 15063664918.5 16 May 2025 08:07AM UTC 12
72.89
GitHub Action Run
6 hooks_runner_windows 15063664918.6 16 May 2025 08:07AM UTC 12
88.35
GitHub Action Run
7 native_toolchain_c_ubuntu 15063664918.7 16 May 2025 08:04AM UTC 26
74.42
GitHub Action Run
8 data_assets_macos 15063664918.8 16 May 2025 08:03AM UTC 5
42.23
GitHub Action Run
9 native_toolchain_c_macos 15063664918.9 16 May 2025 08:03AM UTC 26
68.94
GitHub Action Run
10 hooks_macos 15063664918.10 16 May 2025 08:03AM UTC 11
51.48
GitHub Action Run
11 hooks_windows 15063664918.11 16 May 2025 08:04AM UTC 11
51.48
GitHub Action Run
12 hooks_ubuntu 15063664918.12 16 May 2025 08:04AM UTC 11
51.48
GitHub Action Run
13 hooks_runner_macos 15063664918.13 16 May 2025 08:06AM UTC 12
88.35
GitHub Action Run
14 data_assets_ubuntu 15063664918.14 16 May 2025 08:04AM UTC 5
42.23
GitHub Action Run
15 hooks_runner_ubuntu 15063664918.15 16 May 2025 08:06AM UTC 12
88.35
GitHub Action Run
16 data_assets_windows 15063664918.16 16 May 2025 08:04AM UTC 5
42.23
GitHub Action Run
4 ffigen 15033400325.4 15 May 2025 12:03AM UTC 80
90.89
GitHub Action Run
Source Files on build 15063664918
  • Tree
  • List 146
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15063664918
  • 6e0edca1 on github
  • Prev Build on main (#15033400325)
  • Next Build on main (#15090337171)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc