Coder Social home page Coder Social logo

Comments (3)

anthonyhastings avatar anthonyhastings commented on July 20, 2024

I burned about two hours on this looking into the whole build chain of gulp-sass which depends on node-sass which depends on libsass.

Findings are that I can't clone node-sass using node 0.11.15 and npm 2.6.0 due to the following error:
Can not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.1/linux-x64-node-0.11/binding.node

Also, external sourcemaps seem to be still very much incomplete:
sass/node-sass#731

Without being able to set sourceRoot of the Source Maps to point at the true location of our source files, they'll still not work.

from fe-skeleton.

anthonyhastings avatar anthonyhastings commented on July 20, 2024

Awaiting NodeSource for Ubuntu to release 0.12:
nodesource/distributions#63

from fe-skeleton.

anthonyhastings avatar anthonyhastings commented on July 20, 2024

Test Case 1

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.m-example-module {
    color: green;
    text-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

Results

  • ruby sass average compile after 6 tests: 399ms
  • libsass average compile after 6 tests: 78ms

libsass is over 5x faster.

Test Case 2

This test case uses the avengers web application and the CSS source files located within it.

Results

  • ruby sass average compile after 6 tests: 517ms
  • libsass average compile after 6 tests: 126ms

libsass is over 4x faster.

from fe-skeleton.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.