Benchmark logging
This commit is contained in:
		@@ -57,6 +57,7 @@ function AppDomain( handler, port, cluster )
 | 
			
		||||
	var http = require( "http" );
 | 
			
		||||
	var server = http.createServer(
 | 
			
		||||
		function(req, res) {
 | 
			
		||||
			res._hrtime = process.hrtime.bigint();
 | 
			
		||||
			serverHandle( server, req, res, handler );
 | 
			
		||||
		}
 | 
			
		||||
	);
 | 
			
		||||
 
 | 
			
		||||
@@ -169,7 +169,7 @@ class WebFrame
 | 
			
		||||
		this.HTTP.response.headers["Content-Length"] = data.length;
 | 
			
		||||
		this.HTTP.response.write( data );
 | 
			
		||||
		this.HTTP.response.end();
 | 
			
		||||
		Dragonfly.Debug( "Result Planted" );
 | 
			
		||||
		Dragonfly.Debug( `Result Planted: ${process.hrtime.bigint() - this.HTTP.response.raw._hrtime}ns` );
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	__storeCache( data, cache, ttl )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user