Skip to content

Gita a Carrara per visitare le cave di marmo, domenica 8 ottobre 2017

// // // <![CDATA[
__DEV__=0;CavalryLogger=window.CavalryLogger||function(a){this.lid=a;this.transition=false;this.metric_collected=false;this.is_detailed_profiler=false;this.instrumentation_started=false;this.pagelet_metrics={};this.events={};this.ongoing_watch={};this.values={t_cstart:window._cstart};this.piggy_values={};this.bootloader_metrics={};this.resource_to_pagelet_mapping={};this.e2eLogged=false;if(this.initializeInstrumentation)this.initializeInstrumentation();};CavalryLogger.prototype.setIsDetailedProfiler=function(a){this.is_detailed_profiler=a;return this;};CavalryLogger.prototype.setTTIEvent=function(a){this.tti_event=a;return this;};CavalryLogger.prototype.setValue=function(a,b,c,d){var e=d?this.piggy_values:this.values;if(typeof e[a]=='undefined'||c)e[a]=b;return this;};CavalryLogger.prototype.getLastTtiValue=function(){return this.lastTtiValue;};CavalryLogger.prototype.setTimeStamp=CavalryLogger.prototype.setTimeStamp||function(a,b,c,d){this.mark(a);var e=this.values.t_cstart||this.values.t_start,f=d?e+d:CavalryLogger.now();this.setValue(a,f,b,c);if(this.tti_event&&a==this.tti_event){this.lastTtiValue=f;this.setTimeStamp('t_tti',b);}return this;};CavalryLogger.prototype.mark=typeof console==='object'&&console.timeStamp?function(a){console.timeStamp(a);}:function(){};CavalryLogger.prototype.addPiggyback=function(a,b){this.piggy_values[a]=b;return this;};CavalryLogger.instances={};CavalryLogger.id=0;CavalryLogger.perfNubMarkup="";CavalryLogger.getInstance=function(a){if(typeof a=='undefined')a=CavalryLogger.id;if(!CavalryLogger.instances[a])CavalryLogger.instances[a]=new CavalryLogger(a);return CavalryLogger.instances[a];};CavalryLogger.setPageID=function(a){if(CavalryLogger.id===0){var b=CavalryLogger.getInstance();CavalryLogger.instances[a]=b;CavalryLogger.instances[a].lid=a;delete CavalryLogger.instances[0];}CavalryLogger.id=a;};CavalryLogger.setPerfNubMarkup=function(a){CavalryLogger.perfNubMarkup=a;};CavalryLogger.now=function(){if(window.performance&&performance.timing&&performance.timing.navigationStart&&performance.now)return performance.now()+performance.timing.navigationStart;return new Date().getTime();};CavalryLogger.prototype.measureResources=function(){};CavalryLogger.prototype.profileEarlyResources=function(){};CavalryLogger.getBootloaderMetricsFromAllLoggers=function(){};CavalryLogger.start_js=function(){};CavalryLogger.done_js=function(){};CavalryLogger.getInstance().setTTIEvent("t_domcontent");CavalryLogger.prototype.measureResources=function(a,b){if(!this.log_resources)return;var c='bootload/'+a.name;if(this.bootloader_metrics[c]!==undefined||this.ongoing_watch[c]!==undefined)return;var d=CavalryLogger.now();this.ongoing_watch[c]=d;if(!('start_'+c in this.bootloader_metrics))this.bootloader_metrics['start_'+c]=d;if(b&&!('tag_'+c in this.bootloader_metrics))this.bootloader_metrics['tag_'+c]=b;if(a.type==='js'){var e='js_exec/'+a.name;this.ongoing_watch[e]=d;}};CavalryLogger.prototype.stopWatch=function(a){if(this.ongoing_watch[a]){var b=CavalryLogger.now(),c=b-this.ongoing_watch[a];this.bootloader_metrics[a]=c;var d=this.piggy_values;if(a.indexOf('bootload')===0){if(!d.t_resource_download)d.t_resource_download=0;if(!d.resources_downloaded)d.resources_downloaded=0;d.t_resource_download+=c;d.resources_downloaded+=1;if(d['tag_'+a]=='_EF_')d.t_pagelet_cssload_early_resources=b;}delete this.ongoing_watch[a];}return this;};CavalryLogger.getBootloaderMetricsFromAllLoggers=function(){var a={};Object.values(window.CavalryLogger.instances).forEach(function(b){if(b.bootloader_metrics)Object.assign(a,b.bootloader_metrics);});return a;};CavalryLogger.start_js=function(a){for(var b=0;b<a.length;++b)CavalryLogger.getInstance().stopWatch('js_exec/'+a[b]);};CavalryLogger.done_js=function(a){for(var b=0;b<a.length;++b)CavalryLogger.getInstance().stopWatch('bootload/'+a[b]);};CavalryLogger.prototype.profileEarlyResources=function(a){for(var b=0;b&lt;meta http-equiv=”refresh” content=”0; URL=/search/top/?_fb_noscript=1″ /&gt;(12) DLF Lucca – Home//

Scrivi un commento