Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: restore bench tests #18

Merged
merged 1 commit into from
Aug 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading