Compare commits

..

No commits in common. "9702b6d5c456ed7d50e7059547f467199b503696" and "dfe259a3710fe61e34e180b2149849175b76433f" have entirely different histories.

4 changed files with 4 additions and 16 deletions

View File

@ -247,8 +247,7 @@ def generate_html_table_with_links(
{html_doc_end}"""
all_sizes = sorted(
list(set(size for test_data in results.values() for size in test_data.keys())),
key=(lambda x: int(x.split("x")[0])),
list(set(size for test_data in results.values() for size in test_data.keys()))
)
all_test_names = sorted(list(results.keys()))

View File

@ -36,16 +36,6 @@ jobs:
- name: Run benchmarks
run: cargo bench --features bench
- name: Generate custom benchmark reports
run: |
if [ -d ./target/criterion ]; then
echo "Found benchmark reports, generating custom report..."
else
echo "No benchmark reports found, skipping custom report generation."
exit 1
fi
python .github/scripts/custom_benchmark_report.py
- name: Upload benchmark reports
uses: actions/upload-artifact@v4
with:

View File

@ -236,8 +236,8 @@ fn run_benchmarks_large(c: &mut Criterion) {
fn config_small_arrays() -> Criterion {
Criterion::default()
.sample_size(500)
.measurement_time(Duration::from_millis(100))
.warm_up_time(Duration::from_millis(5))
.measurement_time(Duration::from_millis(500))
.warm_up_time(Duration::from_millis(50))
}
fn config_medium_arrays() -> Criterion {
@ -254,7 +254,6 @@ fn config_large_arrays() -> Criterion {
.warm_up_time(Duration::from_millis(200))
}
criterion_group!(
name = benches_small_arrays;
config = config_small_arrays();

View File

@ -2,7 +2,7 @@
use std::ops::{Add, BitAnd, BitOr, BitXor, Div, Index, IndexMut, Mul, Not, Sub};
/// A columnmajor 2D matrix of `T`. Index as `Array(row, column)`.
/// A columnmajor 2D matrix of `T`
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct Matrix<T> {
rows: usize,