commit | 4c4adc14bec2b7d522ccb7b073efe99a47e0741a | [log] [tgz] |
---|---|---|
author | Jacob MacDonald <jakemac@google.com> | Fri Dec 13 07:51:25 2024 -0800 |
committer | GitHub <noreply@github.com> | Fri Dec 13 07:51:25 2024 -0800 |
tree | 312021024294e7f4aafbec551640f40ef46f47cc | |
parent | 587ff2abc1dde0f11aff95125564281dacf23688 [diff] |
separate out benchmark into 4 stages: create, serialize, deserialize, hash (#154) As mentioned in https://github.com/dart-lang/macros/pull/153. This gives us a better overall picture of where time is going, in the various modes. Current results: ``` SdkMapsJsonWireBenchmark-create: 904ms SdkMapsBufferWireBenchmark-create: 711ms SdkMapsBuilderWireBenchmark-create: 713ms LazyMapsJsonWireBenchmark-create: 0ms LazyMapsBufferWireBenchmark-create: 0ms LazyWrappersBufferWireBenchmark-create: 420ms BuilderMapsJsonWireBenchmark-create: 374ms BuilderMapsBuilderWireBenchmark-create: 379ms SdkMapsJsonWireBenchmark-serialize: 746ms, 7177227 bytes SdkMapsBufferWireBenchmark-serialize: 633ms, 5122684 bytes SdkMapsBuilderWireBenchmark-serialize: 667ms, 4859868 bytes LazyMapsJsonWireBenchmark-serialize: 1104ms, 7177227 bytes LazyMapsBufferWireBenchmark-serialize: 543ms, 5122684 bytes LazyWrappersBufferWireBenchmark-serialize: 0ms, 2111761 bytes BuilderMapsJsonWireBenchmark-serialize: 1028ms, 7177227 bytes BuilderMapsBuilderWireBenchmark-serialize: 0ms, 2111761 bytes SdkMapsJsonWireBenchmark-deserialize: 1249ms SdkMapsBufferWireBenchmark-deserialize: 0ms SdkMapsBuilderWireBenchmark-deserialize: 0ms LazyMapsJsonWireBenchmark-deserialize: 1298ms LazyMapsBufferWireBenchmark-deserialize: 0ms LazyWrappersBufferWireBenchmark-deserialize: 0ms BuilderMapsJsonWireBenchmark-deserialize: 1257ms BuilderMapsBuilderWireBenchmark-deserialize: 0ms SdkMapsJsonWireBenchmark-process: 151ms, hash 23186292 SdkMapsBufferWireBenchmark-process: 249ms, hash 23186292 SdkMapsBuilderWireBenchmark-process: 541ms, hash 23186292 LazyMapsJsonWireBenchmark-process: 179ms, hash 23186292 LazyMapsBufferWireBenchmark-process: 251ms, hash 23186292 LazyWrappersBufferWireBenchmark-process: 367ms, hash 23186292 BuilderMapsJsonWireBenchmark-process: 207ms, hash 23186292 BuilderMapsBuilderWireBenchmark-process: 364ms, hash 23186292 SdkMapsJsonWireBenchmark-total: 3050ms SdkMapsBufferWireBenchmark-total: 1593ms SdkMapsBuilderWireBenchmark-total: 1921ms LazyMapsJsonWireBenchmark-total: 2581ms LazyMapsBufferWireBenchmark-total: 794ms LazyWrappersBufferWireBenchmark-total: 787ms BuilderMapsJsonWireBenchmark-total: 2866ms BuilderMapsBuilderWireBenchmark-total: 743ms ```
This repository is home to various macro related Dart packages.
Package | Description | Version |
---|---|---|
_analyzer_macros | Macro support for the analyzer. | |
_cfe_macros | Macro support for the CFE. | |
_macro_builder | Builds macros. | |
_macro_client | Connects user macro code to a macro host. | |
_macro_host | Hosts macros. | |
_macro_runner | Runs macros. | |
_macro_server | Serves a macro_service . | |
_test_macros | Some test macros. | |
dart_model | Data model for information about Dart code, queries about Dart code and augmentations to Dart code. Serializable with a versioned JSON schema for use by macros, generators and other tools. | |
macro | For implementing a macro. | |
macro_service | Macro communication with the macro host. | |
generate_dart_model |
For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.
For additional information about contributing, see our contributing page.