sass-prof 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/sass-prof/version.rb +1 -1
- data/lib/sass-prof.rb +7 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e7f80a6e5ebec2c14d044f9afce9c1f6659c076
|
4
|
+
data.tar.gz: abc511967596f3188b8eb3b27c284d7dc7327a1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce60f6fc70fce46f77eaebda2e01c29d7152314089af493d9f21209402c6c739443819691916ac9b3d440b830a506a23593f1f88fbf035e66ade7d40e075741a
|
7
|
+
data.tar.gz: 990bd07b6cf533554df75ed727efd911fc6b7198f51eafc988a369daaa37eee37bd1424321fa856fb94ba6608d62198a4829c7532ce12f672d6f4c09a5f024e4
|
data/README.md
CHANGED
data/lib/sass-prof/version.rb
CHANGED
data/lib/sass-prof.rb
CHANGED
@@ -84,8 +84,12 @@ module Sass
|
|
84
84
|
|
85
85
|
# Add total execution time footer
|
86
86
|
rows << :separator
|
87
|
-
rows << [
|
88
|
-
"
|
87
|
+
rows << [
|
88
|
+
"Total",
|
89
|
+
"%.#{pr}fm %.#{pr}fs %.#{pr}fms" % [t_mm, t_ss, t_ms],
|
90
|
+
"",
|
91
|
+
""
|
92
|
+
]
|
89
93
|
|
90
94
|
table = Terminal::Table.new({
|
91
95
|
:headings => ["File", "Execution Time", "Action", "Signature"],
|
@@ -223,7 +227,7 @@ module Sass
|
|
223
227
|
alias_method :__perform_sass_fn, :perform_sass_fn
|
224
228
|
|
225
229
|
def perform_sass_fn(function, args, splat, environment)
|
226
|
-
prof = Prof::Profiler.new(function.dup, :
|
230
|
+
prof = Prof::Profiler.new(function.dup, :invoke, args.dup,
|
227
231
|
environment.dup)
|
228
232
|
prof.start
|
229
233
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-prof
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ezekg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: compass
|