Giter VIP home page Giter VIP logo

Comments (8)

vbmithr avatar vbmithr commented on July 18, 2024

ping ?

from eliom.

kit-ty-kate avatar kit-ty-kate commented on July 18, 2024

What would be the performances improvements here ? eliom{c,opt,dep} uses ocamlfind which search for the best compiler available (ocamlc.opt if available for example).

I you are really sure that it can improves something, then can you do some benchmarks ?

from eliom.

vbmithr avatar vbmithr commented on July 18, 2024

I didn't kwow that. Since our eliom app seems to compile slowly as hell, I thought this could improve something… But I'm perhaps mistaken indeed.

from eliom.

kit-ty-kate avatar kit-ty-kate commented on July 18, 2024

That's normal since we make extensive use of camlp4. For example, in Cumulus I removed camlp4 (lwt.syntax, macaque.syntax) for half of the files and the compilation time gained 10 seconds (~50 before, ~40 now).
Now we loose a lot of time in js_of_ocaml (~9 seconds) [1] and for the .eliom file (~8 seconds).

[1]: The performances decreased a lot after the optimizations patches but it's ok.

from eliom.

hhugo avatar hhugo commented on July 18, 2024

you can gain a lot by using native camlp4 syntax extensions, but it's a bit of a mess to setup

from eliom.

vbmithr avatar vbmithr commented on July 18, 2024

This still matter on slow platform, i.e. ARM. This is still something we should have.

from eliom.

hhugo avatar hhugo commented on July 18, 2024

native versions of eliom tools are now compiled and installed.

from eliom.

vbmithr avatar vbmithr commented on July 18, 2024

Cheers, thanks!

from eliom.

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.