Comments (6)
I updated the esy.json
to be buildsInSource: "_build"
and it reduced the time to one second, but still quite slow.
from esy.
Yes, esy x
perform build
and install
commands before performing the command.
Regarding build
commands, I don't think we could do better than jbuilder
there.
We probably can skip performing install
commands in case we detect rebuild didn't happen. I'm not sure it will win much time for us though.
from esy.
As jbuilder
has exec
subcommand this is probably the baseline:
% time esy b jbuilder exec which refmt
/Users/andreypopp/Workspace/esy-ocaml/reason/_build/install/default/bin/refmt
esy b jbuilder exec which refmt 0.10s user 0.13s system 90% cpu 0.260 total
% time esy x which refmt
/Users/andreypopp/Workspace/esy-ocaml/reason/node_modules/.cache/_esy/store/i/opam__slash__reason-3.0.2-dfe84e28/bin/refmt
esy x which refmt 0.38s user 0.71s system 88% cpu 1.238 total
from esy.
Times for install
:
% time esy b esy-installer > /dev/null
esy b esy-installer > /dev/null 0.14s user 0.48s system 89% cpu 0.693 total
from esy.
I was seeing one second.
from esy.
Should esy x skip the build commands? It would be kind of like esy cmd in that case. It runs a command in an environment resulting from whatever build has taken place.
from esy.
Related Issues (20)
- Building reason 3.9.0 failed HOT 3
- Unable to parse metadata from a curl response
- Can we state a fact of this project's death? HOT 8
- M1 codesigning: users could opt-in to fail builds loudly where codesigning fails
- Nix config needs some attention
- Bug: Add support for expressions in opam filters
- Invalid_argument("filter_deps") HOT 2
- No package matching giving false results HOT 2
- Translate opam constraints on OCaml package to Semver compliant ones HOT 1
- Esy install fail HOT 7
- OCaml 5 warnings during esy npm-release
- Solver doesn't seem to work correctly with OCaml compiler constraints
- Distribution source tarball source.tgz doesn't contain submodule esy-solve-cudf
- How to get `workspace_root` in package.json? HOT 6
- Provide assistance in CI setups
- @opam/topkg 1.0.7 sometimes fails on CI
- CI: esy-gmp fails to build because of a an error when tarball is being fetched HOT 2
- E2E slow tests are broken on Linux after the recent internal command resolution change
- Support ocaml:<version> in the opam filters
- Place linked/installed NPM modules under the sandbox path and symlink to `node_modules` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esy.