Reputation: 2048
Under a repeat control I would like to display a message how long it took to load the data-set for it e.g. "1000 documents loaded in 0.2 seconds".
How can I do this?
The number of elements in the list is easy via getRowCount(). But how can I get the time to collect the data?
Upvotes: 0
Views: 92
Reputation: 3395
You can put the start value in a scoped variable in the BeforePageLoad event and then access it after the page has loaded. You could use
System.nanoTime
for both values
Upvotes: 1