@@ -419,7 +419,7 @@ jobs:
419419 bench-codspeed :
420420 strategy :
421421 matrix :
422- shard : [1, 2]
422+ shard : [1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]
423423 name : " Benchmark with Codspeed (Shard #${{ matrix.shard }})"
424424 timeout-minutes : 120
425425 runs-on :
@@ -441,36 +441,116 @@ jobs:
441441 shell : bash
442442 run : cargo install --force cargo-codspeed --locked
443443
444- - name : Build benchmarks (shard 1)
444+ - name : Build benchmarks (shard 1 - Core foundation )
445445 env :
446446 RUSTFLAGS : " -C target-feature=+avx2"
447447 if : ${{ matrix.shard == 1 }}
448448 run : |
449449 cargo codspeed build --features test-harness \
450450 -p vortex-buffer \
451+ -p vortex-dtype \
452+ -p vortex-error \
453+ --profile bench
454+
455+ - name : Build benchmarks (shard 2 - Array types)
456+ env :
457+ RUSTFLAGS : " -C target-feature=+avx2"
458+ if : ${{ matrix.shard == 2 }}
459+ run : |
460+ cargo codspeed build --features test-harness \
451461 -p vortex-array \
462+ -p vortex-scalar \
463+ -p vortex-vector \
464+ --profile bench
465+
466+ - name : Build benchmarks (shard 3 - Main library)
467+ env :
468+ RUSTFLAGS : " -C target-feature=+avx2"
469+ if : ${{ matrix.shard == 3 }}
470+ run : |
471+ cargo codspeed build --features test-harness \
452472 -p vortex \
473+ -p vortex-compute \
474+ --profile bench
475+
476+ - name : Build benchmarks (shard 4 - Encodings 1)
477+ env :
478+ RUSTFLAGS : " -C target-feature=+avx2"
479+ if : ${{ matrix.shard == 4 }}
480+ run : |
481+ cargo codspeed build --features test-harness \
482+ -p vortex-alp \
483+ -p vortex-bytebool \
484+ -p vortex-datetime-parts \
485+ --profile bench
486+
487+ - name : Build benchmarks (shard 5 - Encodings 2)
488+ env :
489+ RUSTFLAGS : " -C target-feature=+avx2"
490+ if : ${{ matrix.shard == 5 }}
491+ run : |
492+ cargo codspeed build --features test-harness \
493+ -p vortex-decimal-byte-parts \
453494 -p vortex-fastlanes \
495+ -p vortex-fsst \
454496 --profile bench
455497
456- - name : Build benchmarks (shard 2 )
498+ - name : Build benchmarks (shard 6 - Encodings 3 )
457499 env :
458500 RUSTFLAGS : " -C target-feature=+avx2"
459- if : ${{ matrix.shard == 2 }}
501+ if : ${{ matrix.shard == 6 }}
460502 run : |
461503 cargo codspeed build --features test-harness \
462- --exclude bench-vortex \
463- --exclude vortex-datafusion \
464- --exclude vortex-duckdb \
465- --exclude vortex-fuzz \
466- --exclude vortex-python \
467- --exclude vortex-tui \
468- --exclude xtask \
469- --exclude vortex-buffer \
470- --exclude vortex-array \
471- --exclude vortex \
472- --exclude vortex-fastlanes \
473- --workspace \
504+ -p vortex-pco \
505+ -p vortex-runend \
506+ -p vortex-sequence \
507+ --profile bench
508+
509+ - name : Build benchmarks (shard 7 - Encodings 4)
510+ env :
511+ RUSTFLAGS : " -C target-feature=+avx2"
512+ if : ${{ matrix.shard == 7 }}
513+ run : |
514+ cargo codspeed build --features test-harness \
515+ -p vortex-sparse \
516+ -p vortex-zigzag \
517+ -p vortex-zstd \
518+ --profile bench
519+
520+ - name : Build benchmarks (shard 8 - IO and Layout)
521+ env :
522+ RUSTFLAGS : " -C target-feature=+avx2"
523+ if : ${{ matrix.shard == 8 }}
524+ run : |
525+ cargo codspeed build --features test-harness \
526+ -p vortex-io \
527+ -p vortex-file \
528+ -p vortex-layout \
529+ -p vortex-ipc \
530+ --profile bench
531+
532+ - name : Build benchmarks (shard 9 - Storage formats)
533+ env :
534+ RUSTFLAGS : " -C target-feature=+avx2"
535+ if : ${{ matrix.shard == 9 }}
536+ run : |
537+ cargo codspeed build --features test-harness \
538+ -p vortex-flatbuffers \
539+ -p vortex-proto \
540+ -p vortex-btrblocks \
541+ --profile bench
542+
543+ - name : Build benchmarks (shard 10 - Utilities)
544+ env :
545+ RUSTFLAGS : " -C target-feature=+avx2"
546+ if : ${{ matrix.shard == 10 }}
547+ run : |
548+ cargo codspeed build --features test-harness \
549+ -p vortex-mask \
550+ -p vortex-metrics \
551+ -p vortex-utils \
552+ -p vortex-scan \
553+ -p vortex-session \
474554 --profile bench
475555
476556 - name : Run benchmarks
0 commit comments