Skip to content

Commit

Permalink
chore: restore bench tests (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen authored Aug 17, 2024
1 parent 2c2d21a commit 837bb8e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions modules/core/test/bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
// Copyright (c) vis.gl contributors
// Copyright (c) 2015 - 2017 Uber Technologies, Inc.

import javascriptBench from './lib/javascript.bench';
import commonBench from './lib/common.bench';
import {javascriptBench} from './lib/javascript.bench';
import {commonBench} from './lib/common.bench';

// import classesBench from './classes/classes.bench';
import vector2Bench from './classes/vector2.bench';
import vector3Bench from './classes/vector3.bench';
import vector4Bench from './classes/vector4.bench';
import matrix4Bench from './classes/matrix4.bench';
// import {classesBench} from './classes/classes.bench';
import {vector2Bench} from './classes/vector2.bench';
import {vector3Bench} from './classes/vector3.bench';
import {vector4Bench} from './classes/vector4.bench';
import {matrix4Bench} from './classes/matrix4.bench';

export function coreBench(suite, addReferenceBenchmarks) {
// classesBench(suite, addReferenceBenchmarks);
Expand Down
2 changes: 1 addition & 1 deletion modules/geospatial/test/bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
toCartographicFromRadians
} from '../src/type-utils';

import ellipsoidBench from './ellipsoid/ellipsoid.bench';
import {ellipsoidBench} from './ellipsoid/ellipsoid.bench';

class ObjectVector {
x: number;
Expand Down
8 changes: 4 additions & 4 deletions test/bench/modules.bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
// @ts-expect-error tsconfig configuration issue?
import type {Bench} from '@probe.gl/bench';

import coreBench from '../../modules/core/test/bench';
import geospatialBench from '../../modules/geospatial/test/bench';
import cullingBench from '../../modules/culling/test/bench';
import polygonBench from '../../modules/polygon/test/bench';
import {coreBench} from '../../modules/core/test/bench';
import {geospatialBench} from '../../modules/geospatial/test/bench';
import {cullingBench} from '../../modules/culling/test/bench';
import {polygonBench} from '../../modules/polygon/test/bench';

export default function addBenchmarks(suite: Bench, addReferenceBenchmarks: boolean): Bench {
coreBench(suite, addReferenceBenchmarks);
Expand Down

0 comments on commit 837bb8e

Please sign in to comment.