Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix some typos/broken links

  • Loading branch information...
commit cfcff6c4bdccab770239abf8935c76dc8d129aa6 1 parent e69bf51
@bluehawk bluehawk authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 guide/codebench/index.md
View
4 guide/codebench/index.md
@@ -31,12 +31,12 @@ Below are two screenshots of Codebench in action. `Valid_Color` is a class made
![Benchmarking several ways to validate HTML color values](codebench_screenshot1.png)
**Benchmarking seven ways to validate HTML color values**
-![Collapsable results per subject for each method](codebench_screenshot1.png)
+![Collapsable results per subject for each method](codebench_screenshot2.png)
**Collapsable results per subject for each method**
## Working with Codebench
-Codebench is included in Kohana 3, but if you need you [can download it](http://github.com/GeertDD/codebench/tree/master) from GitHub. Be sure Codebench is activated in your `application/bootstrap.php`.
+Codebench is included in Kohana 3, but if you need you [can download it](http://github.com/kohana/codebench/) from GitHub. Be sure Codebench is activated in your `application/bootstrap.php`.
Creating your own benchmarks is just a matter of creating a class that extends the Codebench class. The class should go in `classes/bench` and the class name should have the `Bench_` prefix. Put the code parts you want to compare into separate methods. Be sure to prefix those methods with `bench_`, other methods will not be benchmarked. Glance at the files in `modules/codebench/classes/bench/` for more examples.
Please sign in to comment.
Something went wrong with that request. Please try again.