{"action":"created","issue":{"url":"https://api.github.com/repos/darrenkopp/libsass-net/issues/25","labels_url":"https://api.github.com/repos/darrenkopp/libsass-net/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/darrenkopp/libsass-net/issues/25/comments","events_url":"https://api.github.com/repos/darrenkopp/libsass-net/issues/25/events","html_url":"https://github.com/darrenkopp/libsass-net/issues/25","id":81518674,"number":25,"title":"Large project performance","user":{"login":"amar-tcpl","id":3810240,"avatar_url":"https://avatars.githubusercontent.com/u/3810240?v=3","gravatar_id":"","url":"https://api.github.com/users/amar-tcpl","html_url":"https://github.com/amar-tcpl","followers_url":"https://api.github.com/users/amar-tcpl/followers","following_url":"https://api.github.com/users/amar-tcpl/following{/other_user}","gists_url":"https://api.github.com/users/amar-tcpl/gists{/gist_id}","starred_url":"https://api.github.com/users/amar-tcpl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amar-tcpl/subscriptions","organizations_url":"https://api.github.com/users/amar-tcpl/orgs","repos_url":"https://api.github.com/users/amar-tcpl/repos","events_url":"https://api.github.com/users/amar-tcpl/events{/privacy}","received_events_url":"https://api.github.com/users/amar-tcpl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/darrenkopp/libsass-net/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-05-27T16:22:50Z","updated_at":"2015-07-28T10:04:37Z","closed_at":null,"body":"I am contemplating replacing a node based build process with libsass-net, however am seeing some strange performance issues. \r\n\r\nFor example, to build bootstrap can sometimes take 20+ seconds with libsass-net whereas node-sass does this in a consistent 1.5s.\r\n\r\nOne thing I did notice is that compile times can vary between 12s and 20s for libsass-net so maybe it's just a setting I have which is forcing more IO?\r\n\r\nAn example repo is here, with both node and c# runners: https://github.com/amar-tcpl/libsass-perf\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/darrenkopp/libsass-net/issues/comments/125537734","html_url":"https://github.com/darrenkopp/libsass-net/issues/25#issuecomment-125537734","issue_url":"https://api.github.com/repos/darrenkopp/libsass-net/issues/25","id":125537734,"user":{"login":"driekus77","id":1574281,"avatar_url":"https://avatars.githubusercontent.com/u/1574281?v=3","gravatar_id":"","url":"https://api.github.com/users/driekus77","html_url":"https://github.com/driekus77","followers_url":"https://api.github.com/users/driekus77/followers","following_url":"https://api.github.com/users/driekus77/following{/other_user}","gists_url":"https://api.github.com/users/driekus77/gists{/gist_id}","starred_url":"https://api.github.com/users/driekus77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driekus77/subscriptions","organizations_url":"https://api.github.com/users/driekus77/orgs","repos_url":"https://api.github.com/users/driekus77/repos","events_url":"https://api.github.com/users/driekus77/events{/privacy}","received_events_url":"https://api.github.com/users/driekus77/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T10:04:36Z","updated_at":"2015-07-28T10:04:36Z","body":"@amar-tcpl  I've just update the repo with VS 2013 project files. Under this solution / projects everything should work. \r\nAlso added libsass as git submodule so that its buildable from within my VS solution and project files.\r\n\r\nI think the number, 35 ms per foundation compilation, is wrong. When I run just one thread/job I get +/- 110 ms on the same host as the \"154,444 ms per Foundation compile to file.\" tests.\r\nSomehow the Parallel.ForEach timing does not work properly in the test program.\r\n\r\nBenefits:\r\n- Except from test(s) projects everything in C/C++/C++.NET \r\n- One .dll to deliver which is less loading and maintain.\r\n- C++ interop most times faster than P Invoke (See https://msdn.microsoft.com/en-us/library/ky8kkddw.aspx)\r\n\r\nAlso there are Cons:\r\n- Everyone building/fixing this mixed.dll should know C++/C++.NET\r\n- C++.NET can be complexer and slower to develop than C#\r\n"}}