-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Measure performance of tebako packages against plain Ruby scripts #1
Comments
The following issues are dependencies: |
We would like to run benchmarking for three configurations:
For each configuration we will compare timing of loacally installed gem on Ubuntu, MacOs and Windows against tebako/aibika package. |
Simple gem without native extensionsfontist uses the excavate gem which uses a lot of native extensions. coradoc is in pure Ruby and has good specs. Let's use coradoc? Simple but slightly more complex gem that depends on native extensionsvectory uses the emf2svg gem so it uses "some" native extensions, maybe it is a good candidate for "in between "simple gem with native extension" and "complex application". |
Vectory gem has not been released to rubygems. There is version 0.1.0 only and it does nothing. |
Ping @alexeymorozov to release vectory. |
|
Thanks @maxirmx @alexeymorozov and @CAMOBAP ! |
Hi, @ronaldtse @CAMOBAP Any comments are much appreciated: Benchmarking results |
@maxirmx just to to be on the same page (and make sure that I got the result's right) even with "decompression" tamatebako perform really well, right? How do you think it it make sense to benchmark on windows/linux too? P.S. If need I can help with benchmarking on darwin-x86_64 |
Definitely the next step! Thank you @maxirmx on the awesome results! Can you please help write a blog post on these benchmark results? |
One of the things we wish to do is to avoid writing to/reading from the FS for native extensions, so that we can use libdwarfs in memory... |
Well, I read these results in a following way:
@ronaldtse, I will do a blog post out of these thoughts, We do not have Tebako Windows version. I tried twice with Msys but coud not resolve linking issues. I am going to try native (Microsoft). If it works I will do benchmarking. Testing Aibika (Ocra) does not make sense imho. On the client side it is just a self extracting archieve. I have darwin-x86_64 box, thank you for an idea, I will run benchmarking on it as well. |
@maxirmx maybe you also can share/add some information about tools and environment preparation? I never do such benchmarking myself and have some abstract understanding that we need isolate process somehow (reduce effect of other processes) and reduce impact of memory cache somehow |
I believe that for metanorma the following statement is true: |
OS kernel measures resources On Unix-like sytems there is time utility that gives you 'true' time The trick is to call /usr/bin/time because bash has its own time command that provides different statistics |
All credits related to excellent package performance go to @mhx |
Tebako benchmarking
Tebako needs benchmarking environment that can be run against the ruby-packer and ocra
compute time (tebako architecture vs ruby-packer)
read/write time (due to DwarFS instead of SqashFS)
and although to support improvements like tamatebako/tebako#74
Originally posted by @maxirmx in tamatebako/tebako#45 (comment)
The text was updated successfully, but these errors were encountered: