Skip to content

Commit 20036bc

Browse files
authored
Merge pull request #65 from runmat-org/website-revs-post-accel-launch
website formatting fixes (light mode, benchmarks)
2 parents 5ad1834 + 3c83240 commit 20036bc

40 files changed

+352
-1613
lines changed

benchmarks/4k-image-processing/README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
# RunMat Benchmark: 4K Image Preprocessing, GPU‑accelerated
1+
# 4K Image Preprocessing, GPU‑accelerated
22

33
If you ship geospatial or vision workloads, you’ve likely written this stage countless times: standardize each 4K tile, apply a small radiometric correction, gamma‑correct, and run a quick QC metric. On CPUs this is fine—until the batch grows and your wall‑clock explodes.
44

5-
In this article, we benchmark the performance of RunMat against NumPy, PyTorch, and Julia.
5+
In this article, we benchmark the performance of RunMat against NumPy, and PyTorch.
66

77
The math is deliberately simple and realistic: compute a per‑image mean and standard deviation, normalize, apply a modest gain/bias and a gamma curve, then validate with a mean‑squared error.
88

99
---
1010

1111
## Results
1212

13-
![Relative speed (higher is better), normalized to NumPy = 1×](./4k-image-processing_speedup.svg)
13+
![RunMat is 8.1x faster than NumPy](https://web.runmatstatic.com/4k-image-processing_speedup.svg)
14+
1415

1516
---
1617

@@ -33,10 +34,10 @@ fprintf('RESULT_ok MSE=%.6e\n', double(mse));
3334
```
3435

3536
Full sources:
36-
- RunMat / Octave: [`runmat.m`](https://github.com/runmat-org/runmat/blob/main/benchmarks/benchmarks/4k-image-processing/runmat.m)
37-
- Python (NumPy): [`python_numpy.py`](https://github.com/runmat-org/runmat/blob/main/benchmarks/benchmarks/4k-image-processing/python_numpy.py)
38-
- Python (PyTorch): [`python_torch.py`](https://github.com/runmat-org/runmat/blob/main/benchmarks/benchmarks/4k-image-processing/python_torch.py)
39-
- Julia: [`julia.jl`](https://github.com/runmat-org/runmat/blob/main/benchmarks/benchmarks/4k-image-processing/julia.jl)
37+
- RunMat / Octave: [`runmat_rng.m`](https://github.com/runmat-org/runmat/blob/main/benchmarks/4k-image-processing/runmat_rng.m)
38+
- Python (NumPy): [`python_numpy_rng.py`](https://github.com/runmat-org/runmat/blob/main/benchmarks/4k-image-processing/python_numpy_rng.py)
39+
- Python (PyTorch): [`python_torch_rng.py`](https://github.com/runmat-org/runmat/blob/main/benchmarks/4k-image-processing/python_torch_rng.py)
40+
- Julia: [`julia.jl`](https://github.com/runmat-org/runmat/blob/main/benchmarks/4k-image-processing/julia.jl)
4041

4142
Note: MATLAB’s license agreement restricts usage of their runtime for benchmarking, so we do not include MATLAB runs. If you have numbers, consider sharing them on GitHub Discussions.
4243

benchmarks/batched-iir-smoothing/README.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

benchmarks/batched-iir-smoothing/julia.jl

Lines changed: 0 additions & 19 deletions
This file was deleted.

benchmarks/batched-iir-smoothing/python_numpy_lcg.py

Lines changed: 0 additions & 63 deletions
This file was deleted.

benchmarks/batched-iir-smoothing/python_numpy_rng.py

Lines changed: 0 additions & 60 deletions
This file was deleted.

benchmarks/batched-iir-smoothing/python_torch_lcg.py

Lines changed: 0 additions & 66 deletions
This file was deleted.

benchmarks/batched-iir-smoothing/python_torch_rng.py

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)