Skip to content

Commit

Permalink
add jsii Benchmark (customSmallerIsBetter) benchmark result for cc4b46d
Browse files Browse the repository at this point in the history
  • Loading branch information
github-action-benchmark committed Nov 20, 2023
1 parent 002a4e6 commit 9245150
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion dev/bench/data.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
window.BENCHMARK_DATA = {
"lastUpdate": 1700160529681,
"lastUpdate": 1700484083102,
"repoUrl": "https://github.com/aws/jsii",
"entries": {
"jsii Benchmark": [
Expand Down Expand Up @@ -24011,6 +24011,44 @@ window.BENCHMARK_DATA = {
"extra": "Compile [email protected] (tsc) averaged 39304.04361 milliseconds over 20 runs"
}
]
},
{
"commit": {
"author": {
"email": "49699333+dependabot[bot]@users.noreply.github.com",
"name": "dependabot[bot]",
"username": "dependabot[bot]"
},
"committer": {
"email": "[email protected]",
"name": "GitHub",
"username": "web-flow"
},
"distinct": true,
"id": "cc4b46d7e44f08aea71364c3f37c65316a63124e",
"message": "chore(deps): Update cattrs requirement from <23.2,>=1.8 to >=1.8,<23.3 in /packages/@jsii/python-runtime (#4338)\n\nUpdates the requirements on [cattrs](https://github.com/python-attrs/cattrs) to permit the latest version.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/python-attrs/cattrs/releases\">cattrs's releases</a>.</em></p>\n<blockquote>\n<h2>v23.2.1</h2>\n<h2>23.2.1 (2023-11-18)</h2>\n<ul>\n<li>Fix unnecessary <code>typing_extensions</code> import on Python 3.11.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/446\">#446</a> <a href=\"https://redirect.github.com/python-attrs/cattrs/pull/447\">#447</a>)</li>\n</ul>\n<p>For the v23.2.0 release notes, see <a href=\"https://github.com/python-attrs/cattrs/releases/tag/v23.2.0\">here</a>.</p>\n</blockquote>\n</details>\n<details>\n<summary>Changelog</summary>\n<p><em>Sourced from <a href=\"https://github.com/python-attrs/cattrs/blob/main/HISTORY.md\">cattrs's changelog</a>.</em></p>\n<blockquote>\n<h2>23.2.1 (2023-11-18)</h2>\n<ul>\n<li>Fix unnecessary <code>typing_extensions</code> import on Python 3.11.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/446\">#446</a> <a href=\"https://redirect.github.com/python-attrs/cattrs/pull/447\">#447</a>)</li>\n</ul>\n<h2>23.2.0 (2023-11-17)</h2>\n<ul>\n<li><strong>Potentially breaking</strong>: skip <em>attrs</em> fields marked as <code>init=False</code> by default. This change is potentially breaking for unstructuring.\nSee <a href=\"https://catt.rs/en/latest/customizing.html#include_init_false\">here</a> for instructions on how to restore the old behavior.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/40\">#40</a> <a href=\"https://redirect.github.com/python-attrs/cattrs/pull/395\">#395</a>)</li>\n<li><strong>Potentially breaking</strong>: {py:func}<code>cattrs.gen.make_dict_structure_fn</code> and {py:func}<code>cattrs.gen.typeddicts.make_dict_structure_fn</code> will use the values for the <code>detailed_validation</code> and <code>forbid_extra_keys</code> parameters from the given converter by default now.\nIf you're using these functions directly, the old behavior can be restored by passing in the desired values directly.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/410\">#410</a> <a href=\"https://redirect.github.com/python-attrs/cattrs/pull/411\">#411</a>)</li>\n<li><strong>Potentially breaking</strong>: The default union structuring strategy will also use fields annotated as <code>typing.Literal</code> to help guide structuring.\nSee <a href=\"https://catt.rs/en/latest/unions.html#default-union-strategy\">here</a> for instructions on how to restore the old behavior.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/pull/391\">#391</a>)</li>\n<li>Python 3.12 is now supported. Python 3.7 is no longer supported; use older releases there.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/pull/424\">#424</a>)</li>\n<li>Implement the <code>union passthrough</code> strategy, enabling much richer union handling for preconfigured converters. <a href=\"https://catt.rs/en/stable/strategies.html#union-passthrough\">Learn more here</a>.</li>\n<li>Introduce the <code>use_class_methods</code> strategy. Learn more <a href=\"https://catt.rs/en/latest/strategies.html#using-class-specific-structure-and-unstructure-methods\">here</a>.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/pull/405\">#405</a>)</li>\n<li>The <code>omit</code> parameter of {py:func}<code>cattrs.override</code> is now of type <code>bool | None</code> (from <code>bool</code>).\n<code>None</code> is the new default and means to apply default <em>cattrs</em> handling to the attribute, which is to omit the attribute if it's marked as <code>init=False</code>, and keep it otherwise.</li>\n<li>Converters can now be initialized with <a href=\"https://catt.rs/en/latest/converters.html#fallback-hook-factories\">custom fallback hook factories</a> for un/structuring.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/311\">#331</a> <a href=\"https://redirect.github.com/python-attrs/cattrs/pull/441\">#441</a>)</li>\n<li>Add support for <code>date</code> to preconfigured converters.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/pull/420\">#420</a>)</li>\n<li>Add support for <code>datetime.date</code>s to the PyYAML preconfigured converter.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/393\">#393</a>)</li>\n<li>Fix {py:func}<code>format_exception() &lt;cattrs.v.format_exception&gt;</code> parameter working for recursive calls to {py:func}<code>transform_error &lt;cattrs.transform_error&gt;</code>.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/389\">#389</a>)</li>\n<li><a href=\"https://www.attrs.org/en/stable/init.html#private-attributes-and-aliases\"><em>attrs</em> aliases</a> are now supported, although aliased fields still map to their attribute name instead of their alias by default when un/structuring.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/322\">#322</a> <a href=\"https://redirect.github.com/python-attrs/cattrs/pull/391\">#391</a>)</li>\n<li>Fix TypedDicts with periods in their field names.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/376\">#376</a> <a href=\"https://redirect.github.com/python-attrs/cattrs/pull/377\">#377</a>)</li>\n<li>Optimize and improve unstructuring of <code>Optional</code> (unions of one type and <code>None</code>).\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/380\">#380</a> <a href=\"https://redirect.github.com/python-attrs/cattrs/pull/381\">#381</a>)</li>\n<li>Fix {py:func}<code>format_exception &lt;cattrs.v.format_exception&gt;</code> and {py:func}<code>transform_error &lt;cattrs.transform_error&gt;</code> type annotations.</li>\n<li>Improve the implementation of <code>cattrs._compat.is_typeddict</code>. The implementation is now simpler, and relies on fewer private implementation details from <code>typing</code> and typing_extensions.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/pull/384\">#384</a>)</li>\n<li>Improve handling of TypedDicts with forward references.</li>\n<li>Speed up generated <em>attrs</em> and TypedDict structuring functions by changing their signature slightly.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/pull/388\">#388</a>)</li>\n<li>Fix copying of converters with function hooks.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/398\">#398</a> <a href=\"https://redirect.github.com/python-attrs/cattrs/pull/399\">#399</a>)</li>\n<li>Broaden {py:func}<code>loads' &lt;cattrs.preconf.orjson.OrjsonConverter.loads&gt;</code> type definition for the preconf orjson converter.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/pull/400\">#400</a>)</li>\n<li>{py:class}<code>AttributeValidationNote &lt;cattrs.AttributeValidationNote&gt;</code> and {py:class}<code>IterableValidationNote &lt;cattrs.IterableValidationNote&gt;</code> are now picklable.\n(<a href=\"https://redirect.github.com/python-attrs/cattrs/pull/408\">#408</a>)</li>\n<li>Fix structuring <code>Final</code> lists.</li>\n</ul>\n\n</blockquote>\n<p>... (truncated)</p>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/python-attrs/cattrs/commit/c098cd8dc723ca7dce859028438795476022a652\"><code>c098cd8</code></a> v23.2.1</li>\n<li><a href=\"https://github.com/python-attrs/cattrs/commit/25d15d6f492817a8a618f2accd93bf0d6b55d3d1\"><code>25d15d6</code></a> Import typing_extensions.TypeAlias only on python &lt; 3.11 (<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/447\">#447</a>)</li>\n<li><a href=\"https://github.com/python-attrs/cattrs/commit/46be811135633aee3fc97cd8c171bccdd14c5a93\"><code>46be811</code></a> Of course I forgot to update the changelog</li>\n<li><a href=\"https://github.com/python-attrs/cattrs/commit/65ca839c85411ba47afbcd8acff21839f19ed8a6\"><code>65ca839</code></a> Remove unnecessary docs</li>\n<li><a href=\"https://github.com/python-attrs/cattrs/commit/683e4a7264918327efb838cd55ef0631b31775df\"><code>683e4a7</code></a> doc improvement</li>\n<li><a href=\"https://github.com/python-attrs/cattrs/commit/34e7d21567c0c8be38d8b3506899db107feae064\"><code>34e7d21</code></a> typing_extensions to docs</li>\n<li><a href=\"https://github.com/python-attrs/cattrs/commit/a980e1b5646c02c868badd891f275bb4c822887b\"><code>a980e1b</code></a> Tweak dev doc configuration</li>\n<li><a href=\"https://github.com/python-attrs/cattrs/commit/a9d349a254eb60799e147787c39f153d632e25d6\"><code>a9d349a</code></a> Add a regression test for a nested tagged union scenario (<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/444\">#444</a>)</li>\n<li><a href=\"https://github.com/python-attrs/cattrs/commit/4df0c9eed0368756b0ca91d8bab0b4f9845056d1\"><code>4df0c9e</code></a> Tweak tagged unions (<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/443\">#443</a>)</li>\n<li><a href=\"https://github.com/python-attrs/cattrs/commit/1352676419129789278c61f5b8e2ea92dca5d19a\"><code>1352676</code></a> Doc improvements (<a href=\"https://redirect.github.com/python-attrs/cattrs/issues/442\">#442</a>)</li>\n<li>Additional commits viewable in <a href=\"https://github.com/python-attrs/cattrs/compare/v1.8.0...v23.2.1\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\n\n\n</details>",
"timestamp": "2023-11-20T12:01:33Z",
"tree_id": "d795438aca5d3c13438284525b7f09edb21c784b",
"url": "https://github.com/aws/jsii/commit/cc4b46d7e44f08aea71364c3f37c65316a63124e"
},
"date": 1700484079947,
"tool": "customSmallerIsBetter",
"benches": [
{
"name": "Compile [email protected]",
"value": 51423.29062700002,
"unit": "milliseconds",
"range": 2771173.2113851057,
"extra": "Compile [email protected] averaged 51423.29062700002 milliseconds over 20 runs"
},
{
"name": "Compile [email protected] (tsc)",
"value": 40695.08625654998,
"unit": "milliseconds",
"range": 62034.16660235143,
"extra": "Compile [email protected] (tsc) averaged 40695.08625654998 milliseconds over 20 runs"
}
]
}
]
}
Expand Down

0 comments on commit 9245150

Please sign in to comment.