Comments (6)
I guess we could give it a try. How long does it take for an AppImage to launch? Doesn't it involve unpacking the resources beforehand? If yes, does it add any noticeable latency when invoking the command?
If the changes required for this are limited to just a new CI workflow, we can accept that easily. Otherwise we may need to weigh pros and cons.
from yakut.
Thanks for considering it. I think inclusion is as you say; a new CI workflow. I'll gather some performance observations and comparison next week so we can weigh it up more usefully.
from yakut.
Some initial data from my Ubuntu 20.04 laptop (Intel® i7-10850H)
time yakut
with my system Python 3.8:
real 0m0.651s
user 0m0.664s
sys 0m0.734s
time yakut.AppImage
:
real 0m0.273s
user 0m0.453s
sys 0m0.894s
So the initial load is roughly just over double. But my entry point script into the AppImage has an option to drop you into a shell, from where you can time yakut
:
real 0m0.487s
user 0m0.615s
sys 0m0.927s
I'd guess that the latency regardless of being 'inside' or not is due to decompression from the SquashFS file system. There might be options to not compress the AppImage, and I can investigate those also if you think this load time is unacceptable.
from yakut.
I don't understand the numbers. Are you saying that running yakut
takes 0.651 s while yakut.AppImage
takes 0.273 s, over twice less?
from yakut.
Oh my mistake - I've got my labels the wrong way round. So the AppImage takes just over twice as long to load. For clarity, here is the correctly labelled result:
time yakut.AppImage
real 0m0.651s
user 0m0.664s
sys 0m0.734s
time yakut
with my system Python 3.8
real 0m0.273s
user 0m0.453s
sys 0m0.894s
from yakut.
Okay. I think this is not entirely unreasonable, and those who care may always resort to the proper installation instead. Considering that the maintenance cost is negligible (just a single CI workflow), I think we should proceed.
from yakut.
Related Issues (20)
- Yakut paths are inscrutable and we don't help the user HOT 1
- Yakut default output should use folder HOT 1
- CLI is dumb HOT 2
- Add example for publishing an array type
- Add env command HOT 1
- Add format command HOT 1
- [Feature Request] Add feature to format YAML output in blocks HOT 1
- Yakut call should accept multiple node-IDs HOT 1
- Yakut broken on osx HOT 6
- Windows Regression HOT 1
- Provide new installation screencasts
- The installation instructions should mention that the public regulated data types are necessary as well
- For custom commands, allow yakut to read a map file HOT 1
- Monitor: Five-digit node-IDs require a separator
- Add note/link to setup_slcan
- Add an example of how to convert message fields into TSV using jq
- Switch to the latest PyCyphal
- Install Instructions HOT 1
- Compile fails silently with no work is done 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 yakut.