In Top Scripts report, don't show scripts with no or less than 1 microsecond of execution time.
This is to make the report clearer and less confusing.0.7.3-post-fixes
parent
a74408d1d2
commit
4e5f823595
|
@ -904,9 +904,15 @@ namespace OpenSim.Region.CoreModules.World.Estate
|
||||||
|
|
||||||
foreach (var entry in sortedSceneData)
|
foreach (var entry in sortedSceneData)
|
||||||
{
|
{
|
||||||
|
// The object may have been deleted since we received the data.
|
||||||
if (entry.Part == null)
|
if (entry.Part == null)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
// Don't show scripts that haven't executed or where execution time is below one microsecond in
|
||||||
|
// order to produce a more readable report.
|
||||||
|
if (entry.Measurement < 0.001)
|
||||||
|
continue;
|
||||||
|
|
||||||
items++;
|
items++;
|
||||||
SceneObjectGroup so = entry.Part.ParentGroup;
|
SceneObjectGroup so = entry.Part.ParentGroup;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue