Skip to content
Snippets Groups Projects
Commit 72e287b2 authored by totten's avatar totten
Browse files

(NFC) ArrayTest - Speed up ~50%

Before: On local i3-12100, takes ~17s (avg over two runs)

After: On local i3-12100, take ~8s (avg over two runs)
parent 8166e908
Branches
Tags
No related merge requests found
......@@ -6,6 +6,14 @@
*/
class CRM_Utils_ArrayTest extends CiviUnitTestCase {
/**
* Set up for tests.
*/
public function setUp(): void {
$this->useTransaction();
parent::setUp();
}
public function testAsColumns() {
$rowsNum = [
['a' => 10, 'b' => 11],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment