legion-labs / legion

Legion monorepo, contains the legion engine, the tools, source control, build system etc...
https://book.legionengine.com
Other
16 stars 2 forks source link

timeline rendering bug #1056

Closed mad-legion closed 2 years ago

mad-legion commented 2 years ago

https://analytics.legionengine.com/timeline/d7a95e54-29fb-4967-8499-a809b8102260

mad-legion commented 2 years ago

http://localhost:3000/timeline/d7a95e54-29fb-4967-8499-a809b8102260?timelineStart=35710.52085141251&timelineEnd=35918.4636774104

mad-legion commented 2 years ago

rendering bug is due to bad tsc frequency.

process: {processId: 'd7a95e54-29fb-4967-8499-a809b8102260', exe: '/usr/local/bin/analytics-srv', username: 'root', realname: 'root', computer: 'Ip 10 0 1 221 Ca Central 1 Compute Internal', …}computer: "Ip 10 0 1 221 Ca Central 1 Compute Internal"cpuBrand: "Intel(R) Xeon(R) Platinum 8175M CPU @ 2.50GHz"distro: "Ubuntu 20.04.3 LTS"exe: "/usr/local/bin/analytics-srv"parentProcessId: ""processId: "d7a95e54-29fb-4967-8499-a809b8102260"realname: "root"startTicks: 493714731998startTime: "2022-02-18T20:36:56.610314563+00:00"tscFrequency: 3065378000username: "root"[[Prototype]]: Object Timeline.svelte:245 2022-02-18T20:37:31.373337336+00:00 34763 580622447774

declared tick frequency: 3065378000 estimated tick frequency: 2500006207.05923

(/ 3065378000 2500006207.05923)1.2261481556903093

mad-legion commented 2 years ago

fyi @jelmansouri tick frequency is off by a lot in this case.

mad-legion commented 2 years ago

fixed https://github.com/legion-labs/legion/commit/2e87dbb91f299568da83a231925d73b99c64ac78