Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removing last bits of erb views, general clean up of gemspec file, re…
…moving needless security helper.
- Loading branch information
Showing
8 changed files
with
50 additions
and
82 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Picombo::Event.add('system.display') do | ||
Picombo::View::Core.new('bench/footer').render() | ||
Picombo::Stache::Bench_Footer.new.output | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<table style="width: 100%"> | ||
<tr> | ||
<th align="left">System Benchmarks</th> | ||
<th align="right">Time</th> | ||
</tr> | ||
<tr> | ||
<td>Picombo Setup</td> | ||
<td align="right">{{loading}}</td> | ||
</tr> | ||
<tr> | ||
<td>Environment Setup</td> | ||
<td align="right">{{setup}}</td> | ||
</tr> | ||
<tr> | ||
<td>Controller Execution</td> | ||
<td align="right">{{controller_execution}}</td> | ||
</tr> | ||
<tr> | ||
<td>Total Execution</td> | ||
<td align="right">{{application}}</td> | ||
</tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module Picombo | ||
module Stache | ||
class Bench_Footer < Mustache | ||
self.template = File.open(Picombo::Core.find_file('views', 'bench/footer', true, 'mustache').shift).read | ||
|
||
def loading | ||
Picombo::Bench.instance.get('loading') | ||
end | ||
|
||
def setup | ||
Picombo::Bench.instance.get('setup') | ||
end | ||
|
||
def controller_execution | ||
Picombo::Bench.instance.get('controller_execution') | ||
end | ||
|
||
def application | ||
Picombo::Bench.instance.get('application') | ||
end | ||
end | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters