SparkDevNetwork / Rock

An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
http://www.rockrms.com
580 stars 353 forks source link

The Page Load Time option displays wrong load times for blocks #5968

Closed azturner closed 3 months ago

azturner commented 3 months ago

Description

When using the Page Load Times to view what blocks are taking a long time to load, the load time and graph displayed for a block, is actually the time that the previous block took to load. For example, in this screenshot it is actually the "Test Block" that took 5 seconds to load and not the "DotLiquid Warning" block:

image

Actual Behavior

Time displayed for block to load is actually the time it took for previous block to load

Expected Behavior

Time and chart accurately reflect the correct block

Steps to Reproduce

Issue Confirmation

Rock Version

16.2

Client Culture Setting

en-US

zackdutra commented 3 months ago

We are experiencing the same issue. It's been an issue for several years, we just haven't had time to report it. We're currently on 16.4, though it was present in 14 and 15 also.