mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 20:09:23 +08:00
Merge pull request #25961 from gblikas:gblikas_4.x_ts_js
fix: js/html perf tests
This commit is contained in:
commit
89fff355c8
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if(isNodeJs) {
|
||||
var Base = require("./base");
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
@ -1,4 +1,4 @@
|
||||
const isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
var isNodeJs = (typeof window) === 'undefined'? true : false;
|
||||
|
||||
if (isNodeJs) {
|
||||
var Benchmark = require('benchmark');
|
||||
|
Loading…
Reference in New Issue
Block a user