function Benchmark() {
	this.end = function() {
		__time = (new Date()).getTime() - __time;
		__curr = false
	};
	this.getTime = function() {
		if(__curr) this.end();
		return __time / 1000
	};
	this.start = function() {
		__curr = true;
		__time = (new Date()).getTime()
	};
	var	__curr = false, __time = 0;
};
