• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cljoly / rusqlite_migration
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: refactor-tests
DEFAULT BRANCH: master
Repo Added 18 Mar 2023 09:10AM UTC
Token pB6wRhQDsdC88inn2GVgCM6IKevWTVuLm regen
Build 891 Last
Files 5
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH move-benchmarks
branch: move-benchmarks
CHANGE BRANCH
x
Reset
Sync Branches
  • move-benchmarks
  • 1.3.0-alpha
  • 1.3.1
  • 220
  • NOBLES5E/master
  • add-benchmarks
  • add-coveralls-badge
  • additional-async-tests
  • alpha-130-without-async
  • arc-async
  • async-pkg
  • back-ubuntu-latest
  • badges-update
  • borked-ci
  • bump
  • bump-test-coverage
  • bump-v110a2
  • cargo-locked
  • change-coverage-runner
  • changelog-1.0.2
  • changelog-update
  • changelog-update-20
  • changelog-update-20-alpha
  • ci-perms
  • cj/bump
  • cj/ci-speed-up
  • cj/display-m
  • cj/opt-in-val
  • cj/refactor-tests
  • cj/test-valid-ms
  • cleanup-ci
  • cleanup-tests
  • clement/force-run-ci
  • clippy-fixes
  • clippy-fixes-nov24
  • cljoly-codeowner
  • cljoly-patch-1
  • cljoly-typo
  • const-mirgrations-new
  • coverage
  • cow-lite
  • dependabot/cargo/anyhow-1.0.100
  • dependabot/cargo/anyhow-1.0.81
  • dependabot/cargo/anyhow-1.0.82
  • dependabot/cargo/anyhow-1.0.83
  • dependabot/cargo/anyhow-1.0.86
  • dependabot/cargo/anyhow-1.0.87
  • dependabot/cargo/anyhow-1.0.88
  • dependabot/cargo/anyhow-1.0.89
  • dependabot/cargo/anyhow-1.0.90
  • dependabot/cargo/anyhow-1.0.91
  • dependabot/cargo/anyhow-1.0.92
  • dependabot/cargo/anyhow-1.0.93
  • dependabot/cargo/anyhow-1.0.94
  • dependabot/cargo/anyhow-1.0.95
  • dependabot/cargo/anyhow-1.0.96
  • dependabot/cargo/anyhow-1.0.97
  • dependabot/cargo/anyhow-1.0.98
  • dependabot/cargo/anyhow-1.0.99
  • dependabot/cargo/criterion-0.5
  • dependabot/cargo/criterion-0.6.0
  • dependabot/cargo/criterion-0.7.0
  • dependabot/cargo/env_logger-0.11
  • dependabot/cargo/env_logger-0.11.1
  • dependabot/cargo/env_logger-0.11.5
  • dependabot/cargo/env_logger-0.11.6
  • dependabot/cargo/include_dir-0.7.4
  • dependabot/cargo/insta-1.37.0
  • dependabot/cargo/insta-1.38.0
  • dependabot/cargo/insta-1.39.0
  • dependabot/cargo/insta-1.40.0
  • dependabot/cargo/insta-1.41.0
  • dependabot/cargo/insta-1.41.1
  • dependabot/cargo/insta-1.43.0
  • dependabot/cargo/insta-1.43.1
  • dependabot/cargo/insta-1.43.2
  • dependabot/cargo/lazy_static-1.5.0
  • dependabot/cargo/log-0.4.21
  • dependabot/cargo/log-0.4.22
  • dependabot/cargo/log-0.4.25
  • dependabot/cargo/log-0.4.26
  • dependabot/cargo/log-0.4.27
  • dependabot/cargo/log-0.4.28
  • dependabot/cargo/mio-0.8.11
  • dependabot/cargo/rusqlite-0.32.1
  • dependabot/cargo/slab-0.4.11
  • dependabot/cargo/tokio-1.36.0
  • dependabot/cargo/tokio-1.37.0
  • dependabot/cargo/tokio-1.38.0
  • dependabot/cargo/tokio-1.38.1
  • dependabot/cargo/tokio-1.39.1
  • dependabot/cargo/tokio-1.39.2
  • dependabot/cargo/tokio-1.39.3
  • dependabot/cargo/tokio-1.40.0
  • dependabot/cargo/tokio-1.41.0
  • dependabot/cargo/tokio-1.41.1
  • dependabot/cargo/tokio-1.42.0
  • dependabot/cargo/tokio-1.43.0
  • dependabot/cargo/tokio-1.44.0
  • dependabot/cargo/tokio-1.44.1
  • dependabot/cargo/tokio-1.44.2
  • dependabot/cargo/tokio-1.45.0
  • dependabot/cargo/tokio-1.45.1
  • dependabot/cargo/tokio-1.46.0
  • dependabot/cargo/tokio-1.47.0
  • dependabot/cargo/tokio-1.47.1
  • dependabot/cargo/tokio-test-0.4.4
  • dependabot/cargo/zerocopy-0.7.32
  • deprecate-new_iter
  • deps-trimming
  • dir-no-leading-0
  • doc-badges
  • doc-fixes
  • doc-improvements
  • doc-readme-sync
  • doc-updates
  • docsrs-list-features
  • dont-pin-exact-rusqlite-version
  • down-foreign-key-check
  • eq-tests
  • error-tests
  • exp-readme
  • fix-and-shard-mutants
  • fix-ci
  • fix-ci-lint
  • fix-clippy-error
  • fix-deprecated-insta-macro
  • fix-deprs-shield
  • fix-docs
  • fix-lock
  • fix-readme-deps-badge
  • fix-source-mapping
  • fix-typo-feature-name
  • fix-typos
  • from-directory
  • handle-extra_check
  • ignore-artefacts
  • improved-edit-api
  • insta-doc
  • jolycl/1755207812
  • keep-api-compat-tests
  • license-notices
  • lite
  • manifest-fresh-paint
  • master
  • md-links
  • metadata-doc
  • migrations-to-apply
  • misc-clean-up
  • misc-improvements
  • modernize-cargo-toml
  • more-tests
  • msrv
  • multi-errors-fkc
  • mutants-fixes
  • new-tokio-rusqlite
  • nightly-coverage
  • on-push
  • openssf
  • optimize-from_directory
  • out-of-bound-user-version
  • patch-1
  • pedantic-fixes
  • prep-without-tokio
  • pub-max_schema_version
  • readme-sourcehut
  • refactor-tests
  • refresh-cargo-toml
  • refs/pull/102/merge
  • refs/pull/103/merge
  • refs/pull/163/merge
  • refs/tags/v1.1.0
  • refs/tags/v1.1.0-alpha.2
  • refs/tags/v1.1.0-beta.1
  • refs/tags/v1.2.0
  • refs/tags/v1.2.0-beta.1
  • refs/tags/v1.3.0
  • refs/tags/v1.3.0-alpha-without-tokio.1
  • refs/tags/v1.3.0-beta.1
  • refs/tags/v1.3.1
  • refs/tags/v2.0.0
  • refs/tags/v2.0.0-alpha.1
  • refs/tags/v2.0.0-beta.1
  • refs/tags/v2.1.0
  • refs/tags/v2.2.0
  • refs/tags/v2.2.0-beta.1
  • refs/tags/v2.3.0
  • release-110-beta1
  • remove-async-iter2
  • remove-badge
  • remove-btreemap
  • remove-dead-code
  • remove-new-iter
  • rename-async-feature-to-alpha
  • require-new-rusqlite
  • rusqlite-033
  • rusqlite-036
  • rust-180
  • simpler-doc-generation
  • speed-up-mutants
  • test-duplication-fix
  • test-fmt
  • tweak-coverage
  • tweak-docs
  • update-actions
  • update-cargo-mutants
  • update-mutants-24.2
  • update-rusqlite
  • v1.1.0
  • version-120
  • version-120-beta1
  • version-130
  • version-130-beta-1
  • version-200
  • version-200-beta-1
  • version-200-beta-1-next
  • version-210

20 Jul 2025 11:51PM UTC coverage: 94.693%. Remained the same
16405550602

Pull #287

github

cljoly
test: move benchmarks to separate pkg

Before the change, using `hyperfine -p 'cargo clean' 'cargo t'`:
```
Benchmark 1: cargo t
  Time (mean ± σ):     10.821 s ±  0.110 s    [User: 62.565 s, System: 7.905 s]
  Range (min … max):   10.618 s … 10.951 s    10 runs
```
After:
```
Benchmark 1: cargo t
  Time (mean ± σ):      8.224 s ±  0.091 s    [User: 52.931 s, System: 6.812 s]
  Range (min … max):    7.995 s …  8.344 s    10 runs
```

Cargo mutants (`cargo mutants -p rusqlite_migration -j 2`) goes from 46s to 35s.

Cargo tarpaulin can now exclude benchmarks as a package, going from 21s to
12s.

(all timings are on my machine, but the conclusions should hold in most
environments)
Pull Request #287: test: move benchmarks to separate pkg

339 of 358 relevant lines covered (94.69%)

4.92 hits per line

Relevant lines Covered
Build:
Build:
358 RELEVANT LINES 339 COVERED LINES
4.92 HITS PER LINE
Source Files on move-benchmarks
  • Tree
  • List 5
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
16405550602 move-benchmarks test: move benchmarks to separate pkg Before the change, using `hyperfine -p 'cargo clean' 'cargo t'`: ``` Benchmark 1: cargo t Time (mean ± σ): 10.821 s ± 0.110 s [User: 62.565 s, System: 7.905 s] Range (min … max): 10.618 s … 10.9... Pull #287 20 Jul 2025 11:52PM UTC cljoly github
94.69
16405491301 move-benchmarks test: move benchmarks to separate pkg Before the change, using `hyperfine -p 'cargo clean' 'cargo t'`: ``` Benchmark 1: cargo t Time (mean ± σ): 10.821 s ± 0.110 s [User: 62.565 s, System: 7.905 s] Range (min … max): 10.618 s … 10.9... Pull #287 20 Jul 2025 11:45PM UTC cljoly github
94.69
See All Builds (635)

Badge your Repo: rusqlite_migration

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc