Test name | Executions per second |
---|---|
class | 298332.7 Ops/sec |
functions | 992537408.0 Ops/sec |
class Trig {
static cos(z) {
return Math.cos(z);
}
static sin(z) {
return Math.sin(z);
}
static tan(z) {
return Math.tan(z);
}
static cosh(z) {
return Math.cosh(z);
}
static sinh(z) {
return Math.sinh(z);
}
static tanh(z) {
return Math.tanh(z);
}
static acos(z) {
return Math.acos(z);
}
static asin(z) {
return Math.asin(z);
}
static atan(z) {
return Math.atan(z);
}
static acosh(z) {
return Math.acosh(z);
}
static asinh(z) {
return Math.asinh(z);
}
static atanh(z) {
return Math.atanh(z);
}
}
function cos(z) {
return Math.cos(z);
}
function sin(z) {
return Math.sin(z);
}
function tan(z) {
return Math.tan(z);
}
function cosh(z) {
return Math.cosh(z);
}
function sinh(z) {
return Math.sinh(z);
}
function tanh(z) {
return Math.tanh(z);
}
function acos(z) {
return Math.acos(z);
}
function asin(z) {
return Math.asin(z);
}
function atan(z) {
return Math.atan(z);
}
function acosh(z) {
return Math.acosh(z);
}
function asinh(z) {
return Math.asinh(z);
}
function atanh(z) {
return Math.atanh(z);
}