random test

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
test nothing
console.log('test')
ready
random scenario
function getFloorsConfig() {
  if(!window.signalFloorsAB) window.signalFloorsAB = Math.random();
  if(signalFloorsAB > 0.5){
      return {
        enforcement: {
            floorDeals: false, //default to false
            bidAdjustment: true
        },
        auctionDelay: Number(localStorage?.getItem("floors-auction-delay")) || 100, // in milliseconds
        endpoint: {
            url: localStorage?.getItem("signal_floors_endpoint")
        }
    }
  }
  return
}
console.log(getFloorsConfig());
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.