1.2.0

Test Coverage (1.2.0)

NameCoverage (%)Covered LinesCoverable Lines
RestServer.DefaultRequestHandlerImpl  68.4 %1319
RestServer.Endpoint100.0 %33
RestServer.EndpointCollection100.0 %8383
RestServer.Helper.HeaderBuilder100.0 %2626
RestServer.Helper.UnityNetHelper100.0 %66
RestServer.LowLevelHttpServer76.9 %1013
RestServer.LowLevelHttpSession77.7 %2836
RestServer.RestRequest88.4 %6978
RestServer.RestServer88.8 %4854
RestServer.SpecialHandlers100.0 %66
RestServer.ThreadingHelper100.0 %4949

Average: 90.9%

The missing methods to 100% are usually rare error handling code, like socket errors or other low level functionality.

Profile Marker (1.2.0)

Profile markers can be assigned when scheduling a workload via ThreadingHelper.Instance.ExecuteXXX methods like this

ThreadingHelper.Instance.ExecuteAsync(() => { 
	transform.position += new Vector3(0.001f, 0.001f, 0.001f); 
}, "Position Updates");

These can now be found inside the profiler

Screenshot of the profiler showing the waterfall graph

By default, the name of the execute method (e.g. ExecuteSync) is used as the profile marker name.