Skip to content

Commit

Permalink
Added Benchmark section
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonaba committed Aug 9, 2013
1 parent aaab8ef commit 720b166
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ __30log__ was meant for [Lua 5.1.x](http://www.lua.org/versions.html#5.1), yet i
* [Specification](https://github.com/Yonaba/30log/#specification)
* [Clean source](https://github.com/Yonaba/30log/#clean-source)
* [30log global](https://github.com/Yonaba/30log/#30log-global)
* [Benchmark](https://github.com/Yonaba/30log/#benchmark)
* [Contributors](https://github.com/Yonaba/30log/#contributors)

##Download
Expand Down Expand Up @@ -419,6 +420,17 @@ properly formatted and well indented for your perusal.
Well, not much. The relevant file [30logglobal.lua](https://github.com/Yonaba/30log/blob/master/30logglobal.lua) features the same source as the original [30log.lua](https://github.com/Yonaba/30log/blob/master/30log.lua), excepts that it sets a global function named `class`.
This is convenient for some embed Lua implementations such as [Codea](http://twolivesleft.com/Codea/).

##Benchmark

Performance tests featuring class creations, instantiation and such have been included.
You can run these test with the following command with Lua from the root folder, passing to the test script the actual implementation to be tested.

```lua
lua tests\benchmark\tests.lua 30log
````

Find [here an example of output](https://github.com/Yonaba/30log/tree/master/tests/benchmark/results.md).

##Contributors
* [TsT2005](https://github.com/tst2005), for Class-commons support.

Expand Down

0 comments on commit 720b166

Please sign in to comment.