improved my fractal formula compiler to reduce one Burning Ship benchmark from 21.5s to 20.5s \o/

then I upgraded gcc-mingw to version 7 (was 6.3 before) and it slowed down again to 22.5s /o\

quite literally, 1 step forward 2 steps backward

now throwing more -Ofast at it to see if it helps...

gcc-7 did take less time to compile it, though

trying clang-7, took some time to find the right triple: -target x86_64-pc-mingw32

(though I haven't checked yet that it links correctly)

clang-7 is taking forever to compile my formulas, it better link ok when its done or I'll be well annoyed

it linked and even ran, but no faster than the code compiled by gcc-7

gcc took 20mins to compile it all on my dual core laptop, clang over 10x as long, and gcc output is marginally faster in one simple test.

Follow

I think I'll punt these compiler changes to a future `kf-2.15` branch, the generated code for reference and perturbation iterations is just not good enough yet.

Would be nice though, adding a formula would become 2 lines of code, and the huge formula.cpp generated from the semi-automatically crafted formula.xml via formua.xsl takes a long time to compile, at least the generated code is split into many files so it can be compiled in parallel...

Hopefully will manage to release `kf-2.14.4` today with some less invasive changes.

Sign in to participate in the conversation
lurk.org

Welcome to post.lurk.org, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that. This is part of a family of services that include mailing lists, group chat, and XMPP.