★ wanayoo — archive 1999 https://github.com/ev3dev-lang-java/ev3dev-lang-java/pull/761Nouvelle recherche | Portail wanayoo
Skip to content
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

Sysfs perf #761

Merged
merged 25 commits into from Dec 27, 2020
Merged

Sysfs perf #761

merged 25 commits into from Dec 27, 2020

Conversation

@jabrena
Copy link
Member

@jabrena jabrena commented Dec 27, 2020 •

Improving performance in the execution of this library

jabrena and others added 23 commits Dec 5, 2020
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
Channel reset
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
2 of 4 checks passed
2 of 4 checks passed
build
Details
continuous-integration/travis-ci/pr The Travis CI build failed
Details
continuous-integration/travis-ci/push The Travis CI build failed
Details
CodeFactor No issues found.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.