Mihai Sebea

Results 8 comments of Mihai Sebea

reviving this old thread 🙄 in my case it seems that the bottleneck is that we have a lot of filters that apply to certain configurations mostly at project level...

Upon further inspection, compared to a previous version that i was using 🙄 where we were calling configset.compile 3 times per file, Now It seems we are calling configset.compile 6...

further investigation into `configset.compile` ```lua if abspath and block._basedir and block._basedir ~= basedir then basedir = block._basedir filter.files = path.getrelative(basedir, abspath) end if criteria.matches(block._criteria, filter) then table.insert(result.blocks, block) end ````...

after even further investigation it seems this problem comes from the `export` plugin [ block._basedir = block.basedir](https://github.com/Meoo/premake-export/blob/445f4dd7a334a39231ec2c3004b1fe6486710225/export.lua#L37) making that tolower reduces the cost of path.getrelative

> Noticed the tests fail on non-Windows platforms, it fails on `os.remove()` when attempting to remove a directory. `os.remove()` is supposed to fail, but it succeeds now. I can't really...

I guess my case is a bit more pathological and hashing does show up. ![image](https://user-images.githubusercontent.com/1080030/91912426-62da5b80-ecb3-11ea-956b-0fa716aea5a4.png) About terminate it's just a suggestion for now. I'll think of some other ways. I...

Thank you very much for taking the time to review my work and for your amazing work.

Hi @MetanoKid I used Visual Studio 2019 16.7.2 Seems the default is indeed 10ms but I have templates that take well over 500ms. As far as i'm debugging this, in...