Skip to content

Commit 1b60a8e

Browse files
committed
docs: fix text decoration
1 parent 6c8e8b0 commit 1b60a8e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

user_guide_src/source/testing/benchmark.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Benchmarking
33
############
44

55
CodeIgniter provides two separate tools to help you benchmark your code and test different options:
6-
the Timer and the Iterator. The Timer allows you to easily calculate the time between two points in the
6+
the **Timer** and the **Iterator**. The Timer allows you to easily calculate the time between two points in the
77
execution of your script. The Iterator allows you to set up several variations and runs those tests, recording
88
performance and memory statistics to help you decide which version is the best.
99

@@ -58,7 +58,7 @@ Displaying Execution Time
5858
=========================
5959

6060
While the ``getTimers()`` method will give you the raw data for all of the timers in your project, you can retrieve
61-
the duration of a single timer, in seconds, with the `getElapsedTime()` method. The first parameter is the name of
61+
the duration of a single timer, in seconds, with the ``getElapsedTime()`` method. The first parameter is the name of
6262
the timer to display. The second is the number of decimal places to display. This defaults to 4:
6363

6464
.. literalinclude:: benchmark/006.php
@@ -76,7 +76,7 @@ Creating Tasks To Run
7676
=====================
7777

7878
Tasks are defined within Closures. Any output the task creates will be discarded automatically. They are
79-
added to the Iterator class through the `add()` method. The first parameter is a name you want to refer to
79+
added to the Iterator class through the ``add()`` method. The first parameter is a name you want to refer to
8080
this test by. The second parameter is the Closure, itself:
8181

8282
.. literalinclude:: benchmark/007.php
@@ -91,6 +91,6 @@ to run the tests more times than that, you can pass the number as the first para
9191
.. literalinclude:: benchmark/008.php
9292

9393
Once it has run, it will return an HTML table with the results of the test. If you don't want the results
94-
displayed, you can pass in `false` as the second parameter:
94+
displayed, you can pass in ``false`` as the second parameter:
9595

9696
.. literalinclude:: benchmark/009.php

0 commit comments

Comments
 (0)