How to use the console-browserify.timeEnd function in console-browserify

To help you get started, we’ve selected a few console-browserify examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github massyao / china-invalid-vaccine-flow / js / components / vaccine-context-decorator.jsx View on Github external
initPointsList = () => {
            console.time('create points list'); // eslint-disable-line
            this.pointList = this.createPointList(this.mapModel);
            this.progress(85);
            console.timeEnd('create points list'); // eslint-disable-line
            window.setTimeout(this.initModels, 15);
        }
github lucified / lucify-refugees / src / js / components / refugee-context-decorator.jsx View on Github external
Promise.all(promises).then(function() {
        console.timeEnd('load json'); // eslint-disable-line
        this.dataLoaded();
      }.bind(this), function(error){
        throw error;
github massyao / china-invalid-vaccine-flow / js / components / vaccine-context-decorator.jsx View on Github external
initMapModel = () => {
            console.time('init map model'); // eslint-disable-line
            this.mapModel = new MapModel(this.features);
            this.progress(20);
            console.timeEnd('init map model'); // eslint-disable-line
            window.setTimeout(this.initPointsList, 15);

        }
github lucified / lucify-refugees / src / js / model / refugee-points-model.js View on Github external
var RefugeePointsModel = function(refugees, randomStartPoint, smartSpreadEnabled) {

  this.randomStartPoint = randomStartPoint;
  this.smartSpreadEnabled = smartSpreadEnabled;

  this.refugees = refugees;
  this.activeRefugees = [];
  this.stamp = 0;
  this.refugeeIndex = 0;
  this.refugeesOnPath = {};

  console.time('refugee sorting'); // eslint-disable-line
  this.refugees.sort(function(a, b) {
    return a.startMomentUnix - b.startMomentUnix;
  });
  console.timeEnd('refugee sorting'); // eslint-disable-line
};
github lucified / lucify-refugees / src / js / components / refugee-context-decorator.jsx View on Github external
initMapModel: function() {
      console.time('init map model'); // eslint-disable-line
      this.mapModel = new MapModel(this.features);
      this.progress(20);
      console.timeEnd('init map model'); // eslint-disable-line
      window.setTimeout(this.initPointsList, 15);
    },
github massyao / china-invalid-vaccine-flow / js / model / vaccine-points-model.js View on Github external
var VaccinePointsModel = function (vaccines, randomStartPoint, smartSpreadEnabled) {

    this.randomStartPoint = randomStartPoint;
    this.smartSpreadEnabled = smartSpreadEnabled;

    this.vaccines = vaccines;
    this.activeVaccines = [];
    this.stamp = 0;
    this.vaccineIndex = 0;
    this.vaccinesOnPath = {};

    console.time('vaccine sorting'); // eslint-disable-line
    this.vaccines.sort(function (a, b) {
        return a.startMomentUnix - b.startMomentUnix;
    });
    console.timeEnd('vaccine sorting'); // eslint-disable-line
};
github lucified / lucify-refugees / src / js / components / refugee-context-decorator.jsx View on Github external
initPointsList: function() {
      console.time('create points list'); // eslint-disable-line
      this.pointList = this.createPointList(this.mapModel);
      this.progress(85);
      console.timeEnd('create points list'); // eslint-disable-line
      window.setTimeout(this.initModels, 15);
    },
github massyao / china-invalid-vaccine-flow / js / components / vaccine-context-decorator.jsx View on Github external
Promise.all(promises).then(function () {
                console.timeEnd('load json'); // eslint-disable-line
                this.dataLoaded();
            }.bind(this), function (error) {
                throw error;

console-browserify

Emulate console for all the browsers

MIT
Latest version published 5 years ago

Package Health Score

73 / 100
Full package analysis

Similar packages