Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update driver adapters directory (major) #5067

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 30, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/node (source) 20.12.7 -> 22.10.2 age adoption passing confidence
mitata 0.1.11 -> 1.0.21 age adoption passing confidence
undici (source) 6.13.0 -> 7.2.0 age adoption passing confidence

Release Notes

evanwashere/mitata (mitata)

v1.0.21

Compare Source

v1.0.20: mitata early december update

Compare Source

🚀 New Features

do_not_optimize

utility function to prevent jit from optimizing out values in benchmarks

import { bench, do_not_optimize } from 'mitata';

bench(function () {
  do_not_optimize(new Array(0));
});

hardware counters

bun add @​mitata/counters

mitata now supports collecting and displaying hardware counters on macos and linux

------------------------------------------- -------------------------------
Date.now()                    27.25 ns/iter  27.75 ns █                    
                      (26.32 ns … 32.33 ns)  30.81 ns █▃▂▁▂▅▂▁▂▂▂▂▁▂▂▁▁▁▁▁▁
                  2.20 ipc (  0.00% stalls)  99.99% L1 data cache
          95.35 cycles  209.98 instructions  25.48% retired LD/ST (  53.50)

computed parameters

benchmarks now can include generated parameters that avoid variables hoisting optimization in loops

bench('a * b', function* () {
  yield {
    [0]() {
      return Math.random();
    },

    [1]() {
      return Math.random();
    },

    bench(a, b) {
      do_not_optimize(a * b);
    },
  };
});
------------------------------------------- -------------------------------
a * b                        611.20 ps/iter 600.10 ps  █                   
                      (559.33 ps … 8.20 ns)   1.43 ns ▂█▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
a / b                        913.91 ps/iter 895.26 ps  █                   
                      (844.48 ps … 8.03 ns)   1.87 ns ▁█▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁

v1.0.19

Compare Source

v1.0.18

Compare Source

v1.0.17

Compare Source

v1.0.16

Compare Source

v1.0.15

Compare Source

v1.0.14: mitata november update

Compare Source

🛠️ Changes

groups can have names

group(name, () => {
  ...
});

 math
-------------------------------------------
1 + 1                         87.43 ps/iter
                       (51.03 ps  9.83 ns)

charts/visualizations can be nested and combined

summary(() => {
  barplot(() => {
    bench(...);
  });

  barplot(() => { ... });
});

------------------------------------------- -------------------------------
1 + 1                        105.54 ps/iter  91.55 ps                     !
                       (61.04 ps  1.83 µs) 122.07 ps ▁▁▁▁▁▁▁█▁▁█▁▁▁▁▁▁▄▁▁▂
Date.now()                    39.61 ns/iter  28.01 ns                     
                       (27.83 ns  3.19 µs) 153.12 ns █▁▃▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁

                                                                         
                       1 + 1  105.54 ps
                  Date.now() ┤■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 39.61 ns
                                                                         

summary
  1 + 1
   375.26x faster than Date.now()

------------------------------------------- -------------------------------
2 + 2                        117.75 ps/iter  91.55 ps                     !
                       (61.04 ps  3.69 µs) 112.06 ps ▁▁▁▁▁▁▁▁█▁▁▁█▁▁▁▁▁▁▁▁
3 + 3                        126.97 ps/iter  91.55 ps                     !
                       (61.04 ps  4.23 µs) 122.07 ps ▁▁▁▁▁▁▁█▁▁█▁▁▁▁▁▁▄▁▁▂

                                                                         
                       2 + 2  117.75 ps
                       3 + 3 ┤■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 126.97 ps
                                                                         

summary
  2 + 2
   1.08x faster than 3 + 3

other notable changes

  • support for detecting webcontainers
  • benchmark names now have 28 chars of space
  • optimized amount of ansi codes outputted in some charts

🚀 New Features

benchmark names can be highlighted

bench(...).highlight('red');
image

markdown table format

await run({ format: 'markdown' });

clk: ~3.17 GHz
cpu: Apple M2 Pro
runtime: bun 1.1.26 (arm64-darwin)

benchmark avg min p75 p99 max
1 + 1 90.69 ps/iter 61.04 ps 91.55 ps 122.07 ps 309.74 ns
Date.now() 28.70 ns/iter 26.70 ns 28.01 ns 43.35 ns 413.05 ns

option to fine tune garbage collection behavior

// runs gc before each iteration 
bench(...).gc('inner');

v1.0.13

Compare Source

v1.0.12

Compare Source

v1.0.11

Compare Source

v1.0.10

Compare Source

v1.0.9

Compare Source

v1.0.8

Compare Source

v1.0.7

Compare Source

v1.0.6

Compare Source

v1.0.5

Compare Source

v1.0.4

Compare Source

v1.0.3

Compare Source

v1.0.2

Compare Source

v1.0.1

Compare Source

v1.0.0

Compare Source

v0.1.14

Compare Source

v0.1.13

Compare Source

v0.1.12

Compare Source

nodejs/undici (undici)

v7.2.0

Compare Source

What's Changed

Full Changelog: nodejs/undici@v7.1.1...v7.2.0

v7.1.1

Compare Source

What's Changed

New Contributors

Full Changelog: nodejs/undici@v7.1.0...v7.1.1

v7.1.0

Compare Source

What's Changed

Full Changelog: nodejs/undici@v7.0.0...v7.1.0

v7.0.0

Compare Source

What's Changed


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner November 30, 2024 16:12
@renovate renovate bot requested review from wmadden and removed request for a team November 30, 2024 16:12
Copy link

codspeed-hq bot commented Nov 30, 2024

CodSpeed Performance Report

Merging #5067 will not alter performance

Comparing renovate/major-driver-adapters-directory (1a51ce5) with main (cc0167b)

Summary

✅ 11 untouched benchmarks

Copy link
Contributor

github-actions bot commented Nov 30, 2024

WASM Query Engine file Size

Engine This PR Base branch Diff
Postgres 2.084MiB 2.084MiB 0.000B
Postgres (gzip) 837.764KiB 837.766KiB -2.000B
Mysql 2.049MiB 2.049MiB 0.000B
Mysql (gzip) 824.667KiB 824.670KiB -3.000B
Sqlite 1.962MiB 1.962MiB 0.000B
Sqlite (gzip) 788.643KiB 788.648KiB -5.000B

@renovate renovate bot force-pushed the renovate/major-driver-adapters-directory branch 3 times, most recently from fc59334 to 3b9f165 Compare December 7, 2024 00:47
@renovate renovate bot force-pushed the renovate/major-driver-adapters-directory branch from 3b9f165 to a2edea9 Compare December 8, 2024 13:43
@renovate renovate bot changed the title chore(deps): update driver adapters directory (major) fix(deps): update dependency undici to v7 Dec 8, 2024
@renovate renovate bot changed the title fix(deps): update dependency undici to v7 chore(deps): update driver adapters directory (major) Dec 8, 2024
@renovate renovate bot force-pushed the renovate/major-driver-adapters-directory branch from a2edea9 to 6622cba Compare December 14, 2024 01:49
@renovate renovate bot changed the title chore(deps): update driver adapters directory (major) fix(deps): update driver adapters directory (major) Dec 14, 2024
@renovate renovate bot force-pushed the renovate/major-driver-adapters-directory branch from 6622cba to dc81ac7 Compare December 21, 2024 01:31
@renovate renovate bot force-pushed the renovate/major-driver-adapters-directory branch from dc81ac7 to 1a51ce5 Compare December 28, 2024 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants