cii-text-analysis/vendor/rubix/tensor/benchmarks/Random/RandMatrixBench.php

22 lines
300 B
PHP
Raw Permalink Normal View History

2026-02-10 16:19:59 +01:00
<?php
namespace Tensor\Benchmarks\Random;
use Tensor\Matrix;
/**
* @Groups({"Random"})
*/
class RandMatrixBench
{
/**
* @Subject
* @Iterations(5)
* @OutputTimeUnit("seconds", precision=3)
*/
public function rand() : void
{
Matrix::rand(500, 500);
}
}