Comments (5)
Can include output from time-grunt?
from time-grunt.
Sure! This is output of Grunt watch task with jit-grunt
enabled. Jit loads only plugins used in a current task, to speed things up (which it did greatly for me).
>> File "assets/styles/dev/base/_base.scss" changed.
Running "compass:child" (compass) task
write style.css (1.43s)
Done, without errors.
Execution Time (2014-09-18 10:16:30 UTC)
loading grunt-contrib-compass 377ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 13%
compass:child 2.5s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 86%
Total 2.9s
Completed in 5.027s at Thu Sep 18 2014 10:16:33 GMT+0000 (UTC) - Waiting...
Should I also disable jit
plugin, require other plugins manually and come back with new output?
from time-grunt.
Okay, I can confirm that rougly the same behaviour happens to me with a Grunt watch on a local machine. Differences move between 20 to 50%, but still are there.
Completed in 2.039s at Fri Sep 19 2014 10:16:39 GMT+0200 (CEST) - Waiting...
>> File "assets/styles/dev/style.scss" changed.
Running "compass:child" (compass) task
write style.css (0.257s)
Done, without errors.
Execution Time (2014-09-19 08:16:45 UTC)
loading grunt-contrib-compass 38ms ▇▇▇▇ 3%
compass:child 1.4s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 97%
Total 1.5s
Completed in 1.820s at Fri Sep 19 2014 10:16:47 GMT+0200 (CEST) - Waiting...
>> File "assets/styles/dev/style.scss" changed.
Running "compass:child" (compass) task
error assets/styles/dev/style.scss (Line 7 of /Users/Cibulka/.rvm/gems/ruby-2.1.2/gems/compass-core-1.0.1/stylesheets/compass/_support.scss: Did not recognize your adapter specification (cannot load such file -- multi_json/adapters/json_gem). for `browsers')
Compilation failed in 1 files.
Warning: ↑ Use --force to continue.
Aborted due to warnings.
Execution Time (2014-09-19 08:16:50 UTC)
loading grunt-contrib-compass 35ms ▇▇▇▇ 2%
compass:child 1.4s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 97%
Total 1.4s
(Try to ignore the error above, this is should be somehow related to Compass's compass/support
feature and I'm trying to resolve the issue here: Compass/compass#1831)
And to clarify - I don't want you to do my debugging for me :), I just need to know, if the described behaviour is normal. If it's not, I would be glad if you pointed me to some direction where to start looking for the issue (but that is totally optional).
from time-grunt.
The time is measured from the require('time-grunt')(grunt);
call to the process exits. Anything you do before that call will not be measured.
The watch task might be interfering with it somehow. Does it still show the wrong time when run normally?
from time-grunt.
If by "normally" you mean outside the virtual machine, than yes, there are still some differences between measured and actual time. If some task takes longer time to execute, the difference increases. It usually goes around 1/3-1/4 of the total time.
There, however, may be something wrong with my Gruntfile configuration, as it does a lot of things at once. As some tasks are taking forever (Compass watch task - between 3 and 20! seconds), I am trying to troubleshoot the thing.
My Gruntfile: https://gist.github.com/cibulka/5931c16c8472eac4849e
Latest watch task:
Completed in 5.494s at Thu Sep 25 2014 22:37:08 GMT+0200 (CEST) - Waiting...
>> File "../tvar-wp-theme/assets/styles/dev/layout/_layout.scss" changed.
Running "compass:child" (compass) task
write /Users/Cibulka/Sites-WP/tvar.dev/web/app/themes/tvar-wp-theme/style.css (3.035s)
Done, without errors.
Execution Time (2014-09-25 20:54:02 UTC)
loading grunt-contrib-compass 273ms ▇▇▇ 2%
compass:child 13.6s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 98%
Total 13.9s
Completed in 19.825s at Thu Sep 25 2014 22:54:15 GMT+0200 (CEST) - Waiting...
So answer to my question - which was iftime-grunt
result should be equal to the real time - is yes, thank you. :) Closing.
from time-grunt.
Related Issues (20)
- Execution start time is always in UTC HOT 8
- Feature request: Ignore Tasks HOT 3
- allow custom barChar character, or non utf8 option HOT 4
- builder is not defined HOT 1
- Command line support HOT 5
- Ctrl+C not working HOT 4
- `createBar` invalid array length exception due to negative maxBarWidth HOT 4
- [feature] Allow depth configuration or whitelist HOT 4
- Execution time (date+time) is wrong HOT 1
- --no-color flag does nothing HOT 3
- TypeError: chalk.stripColor is not a function HOT 1
- Maintainer needed HOT 4
- xo 0.15.0 throwing lint error
- Abstracted grunt hooks package HOT 4
- Not outputting total elapsed time unless grunt is called with `--no-color` option HOT 5
- Disable for independent runs
- Callback is not called when exit HOT 1
- Prevents Jest from completion HOT 1
- LESS option 'spawn HOT 1
- grunt-contrib-watch option 'spawn': false blocks time-grunt? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from time-grunt.