Skip to content

issues Search Results · repo:nvzqz/divan language:Rust

Filter by

43 results
 (67 ms)

43 results

innvzqz/divan (press backspace or delete to remove)

A common workflow with criterion (and #[bench] before that) for me is to run the benchmarks without collecting results. This is criterion s --profile-time flag, for example. Then I can run them under a ...
  • BurntSushi
  • Opened 
    on Feb 2
  • #72

I was looking into switching from criterion to divan, and was wondering if there were any workflows for comparing benchmark results? I scanned the blog, but couldn t find anything. I m thinking about the ...
  • BurntSushi
  • Opened 
    on Feb 2
  • #71

The main use case is to benchmark over a range of array sizes. Rather than create a __DIVAN_CONSTS constant across the whole range, we can create a const benchmark that runs benchmarks across each monomorphized ...
enhancement
  • nvzqz
  • Opened 
    on Dec 6, 2024
  • #68

In some projects, I ve abandoned validating the MSRV for my tests because Divan s is too high, making me lose coverage. However, even in projects with fairly liberal MSRV policies, it can be a pain to ...
enhancement
  • epage
  • 2
  • Opened 
    on Dec 4, 2024
  • #67

I m sorry if this is quite obvious, but I couldn t figure it out from the docs. I am benchmarking a function that takes Strings as input and want to run it on different strings. One of these strings is ...
enhancement
  • dfherr
  • 6
  • Opened 
    on Dec 1, 2024
  • #66

Hi, would it be possible to, optionally via a config flag, add some colors to the output to make it easier to distinguish execution times? For example, in each of the fastest │ slowest │ median │ mean ...
enhancement
  • segeljakt
  • 1
  • Opened 
    on Nov 11, 2024
  • #65

When setting up a generic benchmark using the types macro argument I noticed that the order is not respected when the benchmark runs and the types in question are generic. With an invocation like so: ...
bug
  • dvdplm
  • 1
  • Opened 
    on Sep 30, 2024
  • #64

Would be nice to have a super simple/plain format. Something like crate ├─ benchmark 20.75 ns Where the number is the median.
enhancement
  • mehcode
  • Opened 
    on Sep 18, 2024
  • #63

I created a small repo to demonstrate the issue. In the root, if I run cargo bench on Ubuntu, I see the expected benchmarking output, but on macOS, I don t.
bug
  • Fraser999
  • 8
  • Opened 
    on Aug 14, 2024
  • #61

This code: use std::ops::{Add, Mul}; #[divan::bench(args=[(3,4), (5,6)], types=[u8, u32, u64, u128, usize])] fn f T ((x, y): (T,T)) - (T,T) where T: Copy + Add Output = T + Mul Output = T { (x ...
bug
  • 81standish
  • 3
  • Opened 
    on Aug 14, 2024
  • #60
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub