Skip to content

Tags: dart-lang/native

Tags

native_toolchain_c-v0.16.3

Toggle native_toolchain_c-v0.16.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[hooks] [hooks_runner] Use `any` deps in example and test_data (#2354)

hooks-v0.19.5

Toggle hooks-v0.19.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[hooks] Stop leaking `MetadataAsset` (#2357)

hooks-v0.19.4

Toggle hooks-v0.19.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[hooks] [code_assets] Add lint `public_member_api_docs` (#2353)

code_assets-v0.19.4

Toggle code_assets-v0.19.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[hooks] [code_assets] Add lint `public_member_api_docs` (#2353)

hooks_runner-v0.21.0

Toggle hooks_runner-v0.21.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[hooks_runner] Support building assets for dev deps (#2342)

Bug:

* #2312

Breaks the public API of the `package:hooks_runner`, needs a manual roll into Dart and Flutter.

jnigen-v0.14.2

Toggle jnigen-v0.14.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[jni] Fix nullable JCollections (#2325)

* Publish jni and jnigen 0.14.2

jni-v0.14.2

Toggle jni-v0.14.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[jni] Fix nullable JCollections (#2325)

* Publish jni and jnigen 0.14.2

hooks_runner-v0.20.2

Toggle hooks_runner-v0.20.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[hooks_runner] Add `TimelineEvents` (#2327)

This PR adds timeline events to the `hooks_runner` package:

* All `FileSystem` calls. (With a `TracingFileSystem`.)
* All `Process` runs.
* The main methods.

This enables looking at the performance:

<img width="990" alt="image" src="https://github.com/user-attachments/assets/6a5c78be-46b7-4a0a-bc9a-ada325a30193" />

(First build compiles the hook and runs the hook. Second build doesn't compile the hook and doesn't run the hook. Side note: Compiling Dart takes longer than running the hook (compiling C)!)

Some quirks:

* The current approach only works for non-concurrent events. (The stdout and stderr file logging is concurrent to the process calls and therefore has to be excluded.) If we ever start doing things concurrently, we'll need to refactor this.
* There are a lot of possibilities to improve things when we have more than one hook in the system. Optimizing this only makes sense once we have more real world projects using hooks.
* Tracking issues for improving the performance: #1288 #1578

The one improvement made in this PR is that we stop hashing the kernel file contents. Saving a hook invocation if the kernel file didn't change (~300ms) if the hook sources only had a whitespace change seems less valuable than saving the hashing of the hook kernel file on every invocation (~50ms). After this change, cached hook invocations take ~30ms per hook on the local test cases.

Closes: #2236

native_toolchain_c-v0.16.2

Toggle native_toolchain_c-v0.16.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[native_toolchain_c] [code_assets] [data_assets] Fix `dartdoc` on pub…

….dev (#2318)

hooks-v0.19.3

Toggle hooks-v0.19.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[hooks] [code_assets] Update README part 2 (#2322)

We missed the big fat header in #2321.