Jump to content

Recommended Posts

Profiling is my new hobby in DST. :-)

 

 

I checked CPU load of updaing system on my server with mods. My server worked 4 hours with online 6-10 people. I think it's enough for statistics.

 

Main diagram:

6966984.png

As you can see, updating components eats almost all the time of updating time.

 

 

Updating components

6999752.png

Note that "other work in updating components" includes work of my profiler. So actually it might be less.

 

Scheduler

I'm not sure yet how to split the work of Scheduler:OnTick(tick).

 

Brains

I'm not sure how to split it yet.

 

LuaSG

7006923.png

Note that most of cpu used by characters. It says only about what characters are most prefer. So I grouped all characters:

7000779.png

 

Raw data:

0,001	_ctor-OnUpdate(10|HASHEATER|INLIMBO|)0,151	-nil-FindEntity(10|||)0,002	-nil-FindEntity(30|_container||)0,011	-nil-FindEntity(30|_inventoryitem|irreplaceable,prey,bird|)0,021	-nil-FindEntity(5|||)1,872	-nil-FindEntity(5||notarget|player,monster,scarytoprey)0,65	-nil-GetClosestInstWithTag(30|flower||)0,104	-nil(10|||)0,021	-nil(10||monster|character,pig)0,001	-nil(13.3|||)0,003	-nil(13.3||monster|character,pig)0,005	-nil(15||FX,NOCLICK,DECOR,INLIMBO|edible_MEAT,edible_VEGGIE,edible_INSECT,edible_SEEDS,edible_GENERIC)0,005	-nil(15||prey,smallcreature,lavae|)0,031	-nil(16||werepig,alwaysblock|)0,365	-nil(16|monster,_health||)0,001	-nil(20||insect|character,animal,monster)0,014	-nil(20||wall,houndmound,hound,houndfriend|)0,104	-nil(20|player||)0,01	-nil(20|player|playerghost|)0,001	-nil(21.28||werepig,alwaysblock|)0,01	-nil(25|||)0,009	-nil(37.5||prey,smallcreature|)0,01	-nil(4|_combat,_health||)0,09	-nil(4|_combat,_health|prey|)0,001	-nil(4|blocker||)0,111	-nil(4|character|monster|)0,087	-nil(5||beefalo,wall|)0,092	-nil(5|player||)0,019	-nil(6||prey,smallcreature,mossling,moose|monster,player)0,008	-nil(6||tallbird,notarget|character,animal)0,013	-nil(6|character|monster|)0,007	-nil(7.5||notarget|player,monster,scarytoprey)16,388	camera0,002	CanDeployAtPoint(0.75||NOBLOCK,player,FX,INLIMBO,DECOR|)0,002	CanDeployAtPoint(2||NOBLOCK,player,FX,INLIMBO,DECOR|)0,001	CanDeployRecipeAtPoint(3.2||NOBLOCK,player,FX,INLIMBO,DECOR|)0,026	CanSeeFood-FindEntity(15|||)0,004	DoAreaAttack(1.5|_combat||)8,483	EvaluateTechTrees(1|prototyper||)0,002	extinguishsoundtest(5|||)39,291	fe19,917	fe.update widgets0,006	FindItemToStackWith-FindEntity(20|selfstacker||)0,024	FindNearestBush-FindEntity(40|bush||)0,001	FindWalkableOffset0,31	GatherNearbyMembers(40|beefalo||)0,202	GatherNearbyMembers(40|lightninggoat||)0,242	GatherNearbyMembers(40|mossling||)0,309	getactionfn-FindEntity(10|||)1,273	getactionfn-FindEntity(20|||)0,021	getactionfn-FindEntity(25||FX,NOCLICK,DECOR,INLIMBO,stump,burnt|cattoy,cattoyairborne,catfood)0,055	getactionfn-FindEntity(30|||)0,025	getactionfn-FindEntity(30|beehive||)0,003	getactionfn-GetClosestInstWithTag(30|flower||)0,016	getactionfn(15||FX,NOCLICK,DECOR,INLIMBO,burnt|edible_MEAT,edible_VEGGIE,edible_BERRY,edible_GENERIC)0,163	getactionfn(15||FX,NOCLICK,DECOR,INLIMBO|edible_MEAT,edible_VEGGIE,edible_SEEDS)0,111	getactionfn(30||FX,NOCLICK,DECOR,INLIMBO,burnt|)0,039	getactionfn(30||FX,NOCLICK,DECOR,INLIMBO|)0,006	GetChesterFreeName(1200|chester||)0,001	getfn-GetClosestInstWithTag(15|player||)0,684	getfn-GetClosestInstWithTag(4|player||)0,008	GetSpawnPoint(1|||)0,015	GetSpawnPoint(25|flower||)0,001	incrementfn(20|player|playerghost|)2,731	input0,008	IsDangerNearby(8|scarytoprey||)1583,258	main_update159,519	main_update.LuaBrain157,469	main_update.LuaBrain.BrainUpdate0,787	main_update.LuaBrain.BrainUpdate.FindWalkableOffset110,981	main_update.LuaSG22,548	main_update.LuaSG.events84,464	main_update.LuaSG.updaters3,804	main_update.LuaSG.updaters.asuna0,151	main_update.LuaSG.updaters.babybeefalo0,043	main_update.LuaSG.updaters.bearger0,044	main_update.LuaSG.updaters.bee0,928	main_update.LuaSG.updaters.beefalo0,012	main_update.LuaSG.updaters.birdtrap0,382	main_update.LuaSG.updaters.butterfly1,417	main_update.LuaSG.updaters.buzzard0,12	main_update.LuaSG.updaters.catcoon0,522	main_update.LuaSG.updaters.chester0,135	main_update.LuaSG.updaters.crawlinghorror4,036	main_update.LuaSG.updaters.crow0,009	main_update.LuaSG.updaters.deciduoustree0,037	main_update.LuaSG.updaters.dragonfly7,017	main_update.LuaSG.updaters.effie0,025	main_update.LuaSG.updaters.endia0,226	main_update.LuaSG.updaters.frog0,009	main_update.LuaSG.updaters.ghost1,384	main_update.LuaSG.updaters.gollum7,294	main_update.LuaSG.updaters.heather0,227	main_update.LuaSG.updaters.hound0,03	main_update.LuaSG.updaters.icehound0,018	main_update.LuaSG.updaters.knight0,014	main_update.LuaSG.updaters.koalefant_summer0,171	main_update.LuaSG.updaters.krampus0,018	main_update.LuaSG.updaters.lavae0,038	main_update.LuaSG.updaters.leif0,149	main_update.LuaSG.updaters.lightninggoat0,624	main_update.LuaSG.updaters.merm12,53	main_update.LuaSG.updaters.mole0,015	main_update.LuaSG.updaters.moose0,016	main_update.LuaSG.updaters.mosquito0,222	main_update.LuaSG.updaters.mossling0,015	main_update.LuaSG.updaters.perd1,109	main_update.LuaSG.updaters.pigman2,119	main_update.LuaSG.updaters.rabbit3,385	main_update.LuaSG.updaters.robin0,453	main_update.LuaSG.updaters.robin_winter0,013	main_update.LuaSG.updaters.smallbird0,953	main_update.LuaSG.updaters.spider0,144	main_update.LuaSG.updaters.spider_warrior0,038	main_update.LuaSG.updaters.spiderqueen0,031	main_update.LuaSG.updaters.tallbird0,519	main_update.LuaSG.updaters.tentacle0,016	main_update.LuaSG.updaters.terrorbeak0,003	main_update.LuaSG.updaters.tornado0,001	main_update.LuaSG.updaters.trap11,143	main_update.LuaSG.updaters.wathgrithr3,412	main_update.LuaSG.updaters.webber0,027	main_update.LuaSG.updaters.wendy2,184	main_update.LuaSG.updaters.wickerbottom4,078	main_update.LuaSG.updaters.wilson0,001	main_update.LuaSG.updaters.wilson.FindWalkableOffset0,438	main_update.LuaSG.updaters.wolfgang0,003	main_update.LuaSG.updaters.wormhole0,286	main_update.LuaSG.updaters.wren0,224	main_update.LuaSG.updaters.ws_030,895	main_update.LuaSG.updaters.wx78267,918	main_update.scheduler262,711	main_update.scheduler.scheduler:OnTick0,036	main_update.scheduler.scheduler:OnTick.FindWalkableOffset2,394	main_update.scheduler.scheduler:OnTick.SaveAll1,585	main_update.scheduler.scheduler:Run1,207	main_update.static components1033,963	main_update.updating components0,057	main_update.updating components.ambientlighting6,448	main_update.updating components.blowinwind49,422	main_update.updating components.builder0,022	main_update.updating components.catcher1,9	main_update.updating components.circler5,717	main_update.updating components.clock0,053	main_update.updating components.colourtweener0,997	main_update.updating components.combat0,027	main_update.updating components.component7,084	main_update.updating components.container0,239	main_update.updating components.deerclopsspawner9,711	main_update.updating components.distancetracker0,017	main_update.updating components.fader5,718	main_update.updating components.firefx2,768	main_update.updating components.frostybreather0,046	main_update.updating components.grogginess0,068	main_update.updating components.grue0,023	main_update.updating components.health1,03	main_update.updating components.hounded1,575	main_update.updating components.kramped158,95	main_update.updating components.locomotor0,004	main_update.updating components.locomotor.FindWalkableOffset78,129	main_update.updating components.moisture62,512	main_update.updating components.playercontroller0,169	main_update.updating components.projectile173,822	main_update.updating components.sanity40,294	main_update.updating components.sheltered0,01	main_update.updating components.sizetweener0,14	main_update.updating components.stretcher0,001	main_update.updating components.teamattacker0,012	main_update.updating components.teamleader214,743	main_update.updating components.temperature1,394	main_update.updating components.transparentonsanity22,578	main_update.updating components.weather4,258	main_update.updating components.wisecracker0,695	main_update.updating components.worldwind0,004	maxcountfn(20|player|playerghost|)0,316	MergeNearbyHerds(40|herd||)5,2	mixer0,024	NearPlayerBase(20|structure||)0,023	old_sanity_fnn(10||hostile,killer,frog,mosquito|smallcreature,animal,pig,berrythief)0,043	old_sanity_fnn(5|||birdcage,moster)19,559	old_Update-OnUpdate(10||INLIMBO|HASHEATER,spawnlight)22,018	old_Update-OnUpdate(10|HASHEATER|INLIMBO,heatrock|)14,043	old_Update-OnUpdate(2|shelter|FX,NOCLICK,DECOR,INLIMBO,stump,burnt|)0,001	onhitfn-GetClosestInstWithTag(12|spiderden||)0,001	onhitfn-GetClosestInstWithTag(15.96|spiderden||)0,014	ontimeout(10|frog||)0,004	onwork(20|leif||)0,004	OrganizeTeams(50|||)0,001	PickTarget-FindEntity(2|pollinator||)0,395	PickTarget-GetClosestInstWithTag(30|flower||)0,006	PickTarget-GetClosestInstWithTag(30|lightsource||)0,002	PushEvent-fn(30|bird||)0,001	PushEvent-fn(40||playerghost,INLIMBO|lightningrod,lightningtarget)31,112	Recalc(10||FX,NOCLICK,DECOR,INLIMBO|)23,193	RPC queue16,002	RunScheduler-OnTick-fn-FindEntity(1.5|_combat|notraptrigger,flying,nobody|monster,character,animal)0,005	RunScheduler-OnTick-fn-FindEntity(25||FX,NOCLICK,DECOR,INLIMBO|edible_MEAT,prey)0,001	RunScheduler-OnTick-fn-FindEntity(30|beefalo|baby|)0,229	RunScheduler-OnTick-fn-OnUpdate-FindEntity(1.5|bird|INLIMBO|)0,691	RunScheduler-OnTick-fn-OnUpdate-FindEntity(1.5|canbetrapped|INLIMBO|)0,011	RunScheduler-OnTick-fn-OnUpdate-FindEntity(4|campfire,fire||)0,022	RunScheduler-OnTick-fn-OnUpdate(1|propagator||)0,038	RunScheduler-OnTick-fn-OnUpdate(2|propagator||)0,105	RunScheduler-OnTick-fn-OnUpdate(3.35|propagator||)0,023	RunScheduler-OnTick-fn-OnUpdate(3|propagator||)0,011	RunScheduler-OnTick-fn-OnUpdate(4|propagator||)0,05	RunScheduler-OnTick-fn-OnUpdate(5|frozen,firemelt||)1,125	RunScheduler-OnTick-fn-OnUpdate(5|propagator||)0,006	RunScheduler-OnTick-fn-OnUpdate(7|frozen,firemelt||)0,126	RunScheduler-OnTick-fn-OnUpdate(8|frozen,firemelt||)0,003	RunScheduler-OnTick-fn-OnUpdate(8|propagator||)0,273	RunScheduler-OnTick-fn(1|||)0,016	RunScheduler-OnTick-fn(100|chester||)0,01	RunScheduler-OnTick-fn(12|propagator||)0,001	RunScheduler-OnTick-fn(12|spider||)0,002	RunScheduler-OnTick-fn(1500|gollum_ring||)0,006	RunScheduler-OnTick-fn(2.45||INLIMBO,playerghost|_combat,_inventoryitem,HAMMER_workable,CHOP_workable,MINE_workable,DIG_workable)0,001	RunScheduler-OnTick-fn(25||wildfireprotected,fire,burnt,player,companion,NOCLICK,INLIMBO|)0,001	RunScheduler-OnTick-fn(3.5||INLIMBO,playerghost|_combat,_inventoryitem,HAMMER_workable,CHOP_workable,MINE_workable,DIG_workable)0,004	RunScheduler-OnTick-fn(4|HASHEATER||)0,041	RunScheduler-OnTick-fn(40|player||)0,007	RunScheduler-OnTick-fn(5|||bee,mosquito)0,003	RunScheduler-OnTick-fn(50|flower||)0,01	RunScheduler-OnTick-fn(60|renewable||)0,254	RunScheduler-OnTick-fn(64|bird||)0,065	RunScheduler-OnTick-fn(64|butterfly||)0,008	RunScheduler-OnTick-fn(64|flower||)0,001	SetStage-fn(360|||spiderden,spiderqueen)0,016	ShareTarget(30|_combat||)0,004	ShareTarget(39.9|_combat||)0,004	ShareTarget(40|_combat||)0,002	sleeptestfn-FindEntity(6|campfire||)0,14	SpawnBird(15|||)0,001	spawntest(40|beefalo||)0,036	spell(9000|telebase||)0,001	SummonGuardian-FindEntity(30|||)0,003	targetfn-FindEntity(10|||character,monster)0,004	targetfn-FindEntity(10||prey,smallcreature,mossling,moose|)0,005	targetfn-FindEntity(12|_combat,_health|tallbird,springbird|character,animal,monster)0,003	targetfn-FindEntity(7.5||prey,smallcreature|)0,002	targetfn-FindEntity(8|_combat,_health|tallbird,springbird|character,monster)0,001	targetfn-FindEntity(8|pig,_combat,_health|werepig|)0,196	TrySpawn(20|||)0,001	UpdateMaxEmergencyCommit(10|player|playerghost|)0,002	UpdateMaxEmergencyCommit(15|player|playerghost|)0,001	UpdateMaxEmergencyCommit(20|player|playerghost|)2,206	updating wall components0,006	Visit-FindEntity(12|Afraid_of_Gnomes|notarget|)0,165	Visit-FindEntity(2|pollinator||)0,116	Visit-FindEntity(2|wall||)0,042	Visit-FindEntity(3|player|notarget|)0,28	Visit-FindEntity(3|scarytoprey|notarget|)0,001	Visit-FindEntity(4|||)0,002	Visit-FindEntity(4|player|notarget|)0,002	Visit-FindEntity(4|spider|notarget|)0,125	Visit-FindEntity(5|||)0,085	Visit-FindEntity(5|character|notarget|)0,276	Visit-FindEntity(5|scarytoprey|notarget|)0,001	Visit-FindEntity(6|scarytoprey|notarget|)0,316	Visit-FindEntity(8|Afraid_of_Gnomes|notarget|)0,004	Visit-FindEntity(8|player|notarget|)0,008	waketestfn-FindEntity(6|||)

 

What should I profile next? :-)

Edited by Maris
Link to comment
https://forums.kleientertainment.com/forums/topic/53900-profiler/
Share on other sites

Today my server worked 10 hours with new profiler features.

 

Global diagram

This diagram includes other work than just updating. But obvious updating is the main work of the game.

6982212.png

 

 

Updating diagram (for today)

6997575.png

 

Scheduler

First of all, work of profiler eats some CPU time too. But not so much.

6966855.png

Then let's look on tasks:

6959687.png

Here is also raw list of tasks and time (in seconds):

179,791	8-scripts/components/inventoryitemmoisture98,566	7-scripts/components/mine57,703	50-scripts/components/birdspawner35,748	174-scripts/prefabs/nightmarerock31,574	44-scripts/components/perishable19,781	1221-scripts/entityscript19,408	37-scripts/components/autosaver18,177	42-scripts/components/propagator12,586	9-scripts/components/playerprox9,733	126-scripts/components/trap9,193	156-scripts/components/combat8,492	23-scripts/components/herd7,091	457-../mods/Optimizer/modmain7,058	66-scripts/stategraphs/SGmooseegg6,797	210-scripts/components/fueled5,926	22-scripts/components/hunger5,560	298-../mods/Optimizer/scripts/components/justsave5,543	298-../mods/Optimizer/scripts/components/justsave.SaveAll3,808	165-scripts/components/childspawner3,729	44-scripts/components/butterflyspawner2,802	5-scripts/prefabs/spawnlight_multiplayer2,772	84-../mods/Cheats/modmain2,712	18-../mods/workshop-436105708/scripts/prefabs/lambentlight2,371	145-../mods/workshop-385650867/modmain2,337	2-scripts/components/periodicspawner1,848	7-scripts/prefabs/gem1,815	119-../mods/ServerMod/modmain1,810	29-scripts/prefabs/fireflies1,599	87-scripts/components/sleeper1,322	29-scripts/prefabs/shadowmeteor1,309	189-scripts/components/meteorshower1,298	167-scripts/components/health1,139	6-scripts/prefabs/goldnugget1,129	64-scripts/components/flowerspawner1,034	526-../mods/workshop-418604101/modmain0,881	13-scripts/prefabs/burntground0,875	110-scripts/components/birdspawner0,870	78-scripts/components/hunter0,861	85-scripts/components/witherable0,836	7-scripts/components/spawner0,809	19-scripts/components/worlddeciduoustreeupdater0,769	141-scripts/prefabs/wx780,675	79-scripts/components/playerspawner0,672	39-scripts/prefabs/mushrooms0,665	189-scripts/components/burnable0,635	572-scripts/prefabs/player_common0,565	66-../mods/ClassicGiantHealth/modmain0,524	354-scripts/components/penguinspawner0,523	20-scripts/stategraphs/SGglommer0,471	52-../mods/workshop-418604101/scripts/prefabs/sparks20,468	36-scripts/stategraphs/SGlightninggoat0,453	174-scripts/prefabs/deciduoustrees0,449	90-../mods/workshop-417238901/scripts/prefabs/wren0,366	102-scripts/prefabs/mooseegg0,337	68-scripts/components/forestresourcespawner0,315	138-scripts/components/burnable0,310	307-scripts/prefabs/tumbleweed0,308	90-scripts/components/groundpounder0,308	2-scripts/components/shedder0,290	97-scripts/components/sleeper0,282	16-scripts/prefabs/animal_track0,282	28-scripts/prefabs/meteorwarning0,256	187-scripts/prefabs/mushrooms0,239	176-scripts/prefabs/mushrooms0,228	103-scripts/components/butterflyspawner0,209	66-scripts/components/shadowcreaturespawner0,194	122-scripts/components/shadowcreaturespawner0,166	790-../mods/Cannibalism18/modmain0,158	40-scripts/components/selfstacker0,156	32-scripts/components/worlddeciduoustreeupdater0,130	129-scripts/components/witherable0,129	61-scripts/components/shadowhandspawner0,128	69-scripts/prefabs/rabbit0,121	3-scripts/components/age0,117	29-scripts/components/timer0,112	7-scripts/prefabs/pinecone0,111	188-scripts/components/kramped0,109	102-scripts/prefabs/fireflies0,109	364-scripts/prefabs/player_common0,098	41-scripts/components/growable0,093	142-scripts/prefabs/pighouse0,092	14-scripts/stategraphs/SGmooseegg0,089	190-scripts/prefabs/mushrooms0,088	288-scripts/prefabs/deciduoustrees0,080	6-scripts/prefabs/sparks0,079	44-../mods/ClassicGiantHealth/modmain0,063	67-scripts/components/stewer0,061	111-scripts/prefabs/evergreens0,060	104-scripts/prefabs/nightmarerock0,054	114-scripts/prefabs/nightmarerock0,053	3-scripts/prefabs/winterometer0,053	46-scripts/components/disappears0,052	21-../mods/workshop-378823280/scripts/prefabs/endothermic_torch0,052	87-scripts/prefabs/buzzardspawner0,048	177-../mods/Cannibalism18/modmain0,048	131-scripts/prefabs/buzzardspawner0,045	166-scripts/prefabs/world0,045	12-scripts/prefabs/pigking0,044	147-scripts/prefabs/bearger0,043	87-scripts/prefabs/tent0,040	312-scripts/components/pickable0,038	84-scripts/prefabs/walrus0,038	46-../mods/workshop-417238901/scripts/prefabs/wren0,037	24-scripts/components/aura0,033	66-scripts/components/hatchable0,032	16-scripts/prefabs/staff_castinglight0,031	108-scripts/prefabs/spiderden0,031	46-scripts/prefabs/berrybush0,031	9-scripts/components/worldoverseer0,029	697-scripts/mods0,029	226-scripts/prefabs/tumbleweed0,029	134-scripts/prefabs/moose0,028	19-scripts/prefabs/sparks0,028	70-scripts/stategraphs/SGmole0,028	27-../mods/MarbleArmor/modmain0,028	54-scripts/components/wildfires0,027	138-scripts/prefabs/shadowmeteor0,027	262-../mods/workshop-385650867/modmain0,025	175-scripts/components/lootdropper0,025	7-scripts/components/spawner.FindWalkableOffset0,024	165-scripts/components/childspawner.FindWalkableOffset0,023	200-../mods/workshop-430224994/scripts/prefabs/gollum0,023	161-scripts/components/witherable0,021	9-scripts/components/werebeast0,020	15-scripts/components/werebeast0,020	112-scripts/prefabs/tallbirdnest0,019	64-scripts/stategraphs/SGmole0,019	29-scripts/stategraphs/SGdeerclops0,017	52-scripts/components/lureplantspawner0,015	242-scripts/components/health0,015	67-../mods/workshop-404983266/scripts/components/pickler0,014	94-scripts/prefabs/birdcage0,013	36-scripts/prefabs/lightningrod0,013	244-scripts/overseer0,012	762-../mods/workshop-430224994/modmain0,011	203-scripts/prefabs/buzzardspawner0,010	143-../mods/workshop-380344640/scripts/prefabs/endiaamulet0,010	415-../mods/Chesters/modmain0,010	142-../mods/workshop-430224994/scripts/prefabs/ring0,010	305-scripts/prefabs/tumbleweed0,010	78-scripts/components/hunter.FindWalkableOffset0,009	57-scripts/components/guardian0,009	469-scripts/prefabs/player_classified0,009	35-scripts/prefabs/shadowhand0,008	185-scripts/components/playerspawner0,008	122-../mods/workshop-385650867/modmain0,008	53-scripts/prefabs/diviningrod0,008	13-scripts/prefabs/acorn0,007	140-scripts/components/hunter0,007	29-scripts/components/propagator0,007	236-scripts/components/meteorshower0,007	36-../mods/workshop-418604101/scripts/prefabs/gear_mask0,006	117-scripts/components/dryer0,006	302-scripts/prefabs/evergreens0,005	1-scripts/components/inventory_replica0,005	75-scripts/components/follower0,005	31-scripts/prefabs/wathgrithr0,005	399-scripts/components/hounded0,004	14-../mods/workshop-378823280/scripts/prefabs/endothermic_torch0,004	156-scripts/components/hunter0,004	1153-scripts/prefabs/deciduoustrees0,004	50-scripts/prefabs/birdcage0,004	53-../mods/workshop-430224994/scripts/prefabs/ring0,003	277-scripts/stategraphs/SGmoose0,003	7-scripts/components/herdmember0,003	17-scripts/prefabs/wormhole0,003	288-scripts/prefabs/evergreens0,003	6-scripts/prefabs/brokentool0,003	9-scripts/components/freezable0,003	22-scripts/prefabs/staffcastfx0,003	323-../mods/Chesters/modmain0,003	81-scripts/prefabs/rabbithole0,003	142-scripts/prefabs/pighouse.FindWalkableOffset0,002	24-scripts/components/grue0,002	28-scripts/prefabs/staff_castinglight0,002	43-scripts/prefabs/abigail_flower0,002	44-scripts/prefabs/lightning0,002	54-../mods/workshop-380344640/scripts/prefabs/endiaamulet0,002	58-scripts/prefabs/bedroll0,002	592-scripts/prefabs/player_common0,002	636-../mods/Chesters/modmain0,002	65-scripts/prefabs/rabbithole0,002	68-scripts/prefabs/shadowhand0,002	82-scripts/prefabs/deciduous_root0,002	929-scripts/entityscript0,002	611-../mods/workshop-430224994/modmain0,002	9-scripts/components/witherable0,002	73-scripts/components/grue0,001	132-scripts/components/follower0,001	104-scripts/components/combat0,001	1103-../mods/ServerMod/modmain0,001	13-scripts/prefabs/torch0,001	138-scripts/components/dryer0,001	159-scripts/components/projectile0,001	17-scripts/components/worlddeciduoustreeupdater0,001	171-scripts/stategraphs/SGbuzzard0,001	20-scripts/prefabs/scienceprototyper0,001	24-scripts/prefabs/wormhole0,001	272-scripts/prefabs/tumbleweed0,001	40-scripts/brains/catcoonbrain0,001	71-../mods/Cannibalism18/modmain0,001	75-scripts/prefabs/pighouse0,001	190-scripts/prefabs/pighouse0,001	41-scripts/prefabs/babybeefalo

 

Brains:

6948423.png

6952519.png

And raw data (in seconds):

44,078	crow34,064	robin29,865	beefalo27,993	pigman27,689	rabbit15,031	mole12,950	merm11,126	mossling10,848	butterfly10,816	spider5,924	hound4,634	robin_winter4,223	bee3,460	ws_033,300	lightninggoat2,265	crawlinghorror1,948	krampus1,879	frog1,610	babybeefalo1,430	catcoon1,271	buzzard1,253	tallbird1,114	koalefant_summer0,810	leif0,754	icehound0,613	spider_warrior0,526	mosquito0,517	bearger0,470	perd0,430	knight0,352	moose0,325	smallbird0,216	warg0,215	spiderqueen0,205	dragonfly0,197	terrorbeak0,177	ghost0,159	killerbee0,144	chester0,129	bat0,129	sentinel0,100	koalefant_winter0,080	firehound0,075	walrus0,066	little_walrus0,051	teenbird0,039	lavae0,012	deerclops0,010	glommer0,004	birchnutdrake0,004	bulbo

 

Edited by Maris

New data from Lag Detector:

7036843.png

Most of update lags occurs while world is saving. All update stuff = "autosaver.lua" + "other update".

"Not update" - this is unknown lags (for lag detector). Most of "not update" lags are connecting of new users and disconnecting old users.

 

I have online 10-20 people (except night time). That's why total count of lag time is time of connecting/disconnecting.

 

However "not update" lags include some minor game lags in lua code (large arrays etc). It's really very rare and minor lags 0.06 - 0.09 secs. I'd say "not update" lags (68%) = connection lags (60%) + minor lua lags (8%). I can't measure it, because Lag Detector can't be implemented in C functions or in ALL lua functions. But I'm sure about this proportion because Lag Detector shows "unknown lag" 0.1~0.2 sec (up to 0.4 sec) just after user join or leave the server. 

 

Sometimes there is no lag if new user connecting to the server. But very often there IS a lag at least 0.1 sec.

 

Edited by Maris

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...