server-timing
Show server-side performance information in the browser
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); }));
Links
Compatibility
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 browserAllows 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 GitHubIssue tracker