log_full_time

webix.log_full_time(name)

webix.log_full_time helper.

Please look into the linked official documentation.

References

helpers
log().

Referenced by

helpers
count().

External references

Official documentation page.

Code

1
2
3
4
5
6
7
8
9
webix.log_full_time = function(name){
    webix._start_time_log = new Date();
    webix.log("Timing start ["+name+"]");
    window.setTimeout(function(){
        var time = new Date();
        webix.log("Timing end ["+name+"]:"+(time.valueOf()-webix._start_time_log.valueOf())/1000+"s");
    },1);
};
//register execution time from call point