Comments (4)
@alex-page any chance this is related to #72? Or is it something specific to Windows?
from pancake.
I think this was before #72 however I can investigate it further.
from pancake.
This is being moved into QA, waiting for publishing of new versions of components ( with updated pancake ) to test.
from pancake.
@rooby I did a test just after moving back to node-sass
. The test was done on a slower older windows computer and a 2015 macbook pro. I used the gnomon
package to see how long tasks were taking.
This is definitely an issue, installing 25 components took 171.98s on a slower windows computer vs 50.41s on a faster macbook pro.
Main points to note:
node-sass
is a pretty big install and slower internet connections without an already cached binary can slow it down ( 9 seconds to download the windows binary vs 0.07s seconds for a cached mac binary )pancake
is a pretty intensive script and can probably be optimised for windows devices, currently it takes around 3.7 seconds per component on windows vs 0.86s on mac- The install of the packages were also slower on my windows laptop taking 20.35 seconds versus 8.49s on the macbook pro
This ticket would mainly be looking into the second point around optimising the pancake post install script for windows devices.
Some things to note are that the main things that take time in the pancake script are the compilation of sass -> css and minification of javascript. These are dependencies of the project and can be slower depending on the hardware., operating system and node-sass binary used. This ticket would be more looking into ways to speed up the pancake postinstall process, maybe we could try running the css and js tasks in parallel instead of synchronously.
from pancake.
Related Issues (20)
- [Windows] - Duplicate org in path
- Windows - Failing test-suite
- Update docs
- Known issue: pancake-sass
- pancake fails to compile css HOT 1
- When `auto-save` is enabled, pancake-json will save the entire json into the `package.json`
- Pancake monorepo suppport, allow users to set node_modules directory location HOT 2
- Update pancake-sass dependencies to support node 10 HOT 4
- Performance issues with sass HOT 1
- Selecting minified JS option causes bugs on ie8 HOT 1
- Cannot build when hoisting modules - Undefined variable: "$versioning-glob-dependencies" HOT 1
- CSS is generated when it is ignored in package.json HOT 1
- Defining a module in package.json generates an error
- Running pancake is not applying custom colours HOT 2
- Pancake modules from multiple organisations HOT 2
- Windows - Improperly escaped '\' characters HOT 1
- Unable to handle modules without sass. HOT 1
- Windows - Duplicate org in path HOT 1
- Windows - Incompatible fixture paths
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 pancake.