$.ajax({ url: 'http://google.com', method: 'GET', start_time: new Date().getTime(), complete: function(data) { alert('This request took '+(new Date().getTime() - this.start_time)+' ms'); } });