Skip to content

Commit

Permalink
more consistent examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 10, 2018
1 parent 99e86e7 commit 45e46fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Mojolicious/Plugin/DefaultHelpers.pm
Expand Up @@ -493,7 +493,7 @@ Return fractional number of seconds since named timstamp has been created with
L</"timing-E<gt>start"> or C<undef> if no such timestamp exists. Note that this
helper is EXPERIMENTAL and might change without warning!
# Log profiling information
# Log timing information
$c->timing->start('database_stuff');
...
my $elapsed = $c->timing->elapsed('database_stuff');
Expand All @@ -509,7 +509,7 @@ Create C<Server-Timing> header with or without named timestamp created with
L</"timing-E<gt>start">. Note that this helper is EXPERIMENTAL and might change
without warning!
# Forward profiling information to browser
# Forward timing information to browser
$c->timing->start('database_stuff');
...
$c->timing->server_timing('db', 'Database Stuff', 'database_stuff');
Expand Down

0 comments on commit 45e46fe

Please sign in to comment.