Directory

← Back

server-timing

Show server-side performance information in the browser

Author

Rating

Popularity

<100

Allows adding information to the timings section of a network request in the browser's network inspector. The timing information can be collected in various different ways (see Samples).

Sample code

Stopwatch addTextStopwatch = ServerTiming.start("addText");
add(new Text("Hello there"));
addTextStopwatch.complete();
grid.setDataProvider(ServerTiming.wrapDataProvider("personGrid", slowDataProvider));
Button slowButton = new Button("Say hello", ServerTiming.wrapListener("clickListener", event -> {
    sleep(250);
}));

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Released
2019-09-06
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 10+
Browser
Firefox
Opera
Safari
Google Chrome

server-timing - Vaadin Add-on Directory

Show server-side performance information in the browser server-timing - Vaadin Add-on Directory
Allows adding information to the timings section of a network request in the browser's network inspector. The timing information can be collected in various different ways (see Samples).
View on GitHub
Issue tracker

server-timing version 1.0.0

Online