Skip to content

Sysfs perf - #761

Merged
jabrena merged 25 commits into
masterfrom
sysfs_perf
Dec 27, 2020
Merged

jabrena merged 25 commits into
masterfrom
sysfs_perf

Conversation

@jabrena

@jabrena jabrena commented Dec 27, 2020 •

Copy link
Copy Markdown
Member

Improving performance in the execution of this library

jabrena and others added 23 commits December 5, 2020 18:50
Travis requires many time to execute tests in the project
…JakubVanek

Adding Unit Test to execute UnitTest for all ideas.
Some test are failing in all proposals.
When using cached file descriptors, differences between
the sysfs filesystem and normal filesytems show up.
In particular, extraneous data are not persisted between
individual write calls (in sysfs, they're handed to the
kernel driver; reads are again handled by a kernel driver).

This commit repairs the illusion by opening and closing
the file for each read/write separately.

# Conflicts:
#	src/test/java/fake_ev3dev/ev3dev/utils/io/SysfsFile.java
Add LRU-cached Sysfs to the contest
However, the primary information source should always be the manpages:
https://man7.org/linux/man-pages/dir_section_2.html
Upgrading build.gradle for JMH tests. It is necessary to review to merge to master.
Adding JMH Tests
Updating MANIFEST.MF to point to JMH main program for testing on EV3
docs: add ILibc documentation (to sysfs_perf)
… /sys/class/lego-sensor/sensor0/value0 . From a primitive measurement it's a boost of about 2x
Small refactoring in JMH tests
Adding TimingTest and performance results
@jabrena jabrena self-assigned this Dec 27, 2020
@jabrena
jabrena merged commit 18d4cb1 into master Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants