Merge: nitdoc: fix things, add more tests and benches
authorJean Privat <jean@pryen.org>
Sat, 13 Jun 2015 11:21:01 +0000 (07:21 -0400)
committerJean Privat <jean@pryen.org>
Sat, 13 Jun 2015 11:23:44 +0000 (07:23 -0400)
commit2edb3cd40ed0e6c5b04ec31c7767121370fc7327
tree881bb1bdabcd58f4b8d1e7f96ecd852cf1e91f50
parent9902c7a7b19bb3f69d7850c189c96f58f4ef508d
parentc6f52d80e7701a5b57eb1ff3b51ea179be4d6b03
Merge: nitdoc: fix things, add more tests and benches

Two fixes:

* no more multiple instanciation of ToolContext (-25% of total nitdoc time)
* fixed JS scripts (no more bug with the search bar that does not display)

Testing:
* add more tests on pages structure
* add a script to build the documentation from origin/master version (easier to diff outputed doc after local changes)
* add a benchmark to nitdoc against the origin/master version

Performances comparison after fix on ToolContext:

![image](https://cloud.githubusercontent.com/assets/583144/8042382/e9feba6c-0dec-11e5-9bf9-0a3806209ee9.png)

(`CI-nitdoc` is busy right now on Jenkins so you will have to wait for the demo)

Pull-Request: #1446
Reviewed-by: Jean Privat <jean@pryen.org>