Skip to Main Content
Wydajny JavaScript.
book

Wydajny JavaScript.

by Nicholas C. Zakas
September 2016
Intermediate to advanced content levelIntermediate to advanced
224 pages
7h 33m
Polish
APN Promise
Content preview from Wydajny JavaScript.
206 | Rozdział 10: Narzędzia
Chociaż proler IE aktualnie nie oferuje interfejsu API JavaScript, ma konsolę API zfunk-
cjami rejestrowania. Można jej użyć doprzesyłania funkcji
console.time()
i
console.timeEnd()
zFirebug, copozwoli nawykonywanie takich samych testów wIE.
if (console && !console.time) {
console._timers = {};
console.time = function(name) {
console._timers[name] = new Date();
};
console.timeEnd = function(name) {
var time = new Date() - console._timers[name];
console.info(name + ': ' + time + 'ms');
};
}
Wyniki prolera IE 8 mogą być eksportowane wformacie .csv przy użyciu
przycisku Export Data.
Web Inspector wSafari ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Wszechstronny JavaScript

Wszechstronny JavaScript

Adam D. Scott
Programowanie w JavaScript Rusz głową!

Programowanie w JavaScript Rusz głową!

Eric Freeman, Elisabeth Robson

Publisher Resources

ISBN: 9788375413113