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

performance #12

Open
mgood7123 opened this issue Apr 18, 2020 · 1 comment
Open

performance #12

mgood7123 opened this issue Apr 18, 2020 · 1 comment

Comments

@mgood7123
Copy link

mgood7123 commented Apr 18, 2020

when using uint128_t i am getting constant underruns when using divide while uint64_t has no underruns
| | | |--99.24%-- AudioTime::update(unsigned long, SoundRecordingAudioData*)
| | | | |--2.14%-- [hit in function]
| | | | |
| | | | |--84.84%-- uint128_t::operator/(uint128_t const&) const
| | | | | |
| | | | | |--98.44%-- uint128_t::divmod(uint128_t const&, uint128_t const&) const
| | | | | | |--4.89%-- [hit in function]
| | | | | | |
| | | | | | |--39.88%-- uint128_t::operator<<=(uint128_t const&)
| | | | | | | |--16.91%-- [hit in function]
| | | | | | | |
| | | | | | | |--49.84%-- uint128_t::operator<<(uint128_t const&) const
| | | | | | | | |--80.93%-- [hit in function]
| | | | | | | | |
| | | | | | | | |--17.95%-- uint128_t::uint128_t<unsigned long, unsigned long, void>(unsigned long const&, unsigned long const&)
| | | | | | | | |
| | | | | | | | --1.12%-- @plt
| | | | | | | |
| | | | | | | |--30.34%-- uint128_t::operator=(uint128_t&&)
| | | | | | | | |--76.11%-- [hit in function]
| | | | | | | | |
| | | | | | | | |--13.07%-- libAudioEngine.so[+237f4]
| | | | | | | | |
| | | | | | | | |--5.46%-- libAudioEngine.so[+237f8]
| | | | | | | | |
| | | | | | | | |--3.65%-- libAudioEngine.so[+23800]
| | | | | | | | |
| | | | | | | | --1.72%-- libAudioEngine.so[+237f0]
| | | | | | | |
| | | | | | | --2.91%-- @plt
| | | | | | |
| | | | | | |--15.85%-- uint128_t uint128_t::operator>><unsigned int, unsigned int>(unsigned int const&) const
| | | | | | | |--17.90%-- [hit in function]
| | | | | | | |
| | | | | | | |--70.96%-- uint128_t::operator>>(uint128_t const&) const
| | | | | | | | |--78.27%-- [hit in function]
| | | | | | | | |
| | | | | | | | --21.73%-- uint128_t::uint128_t<unsigned long, unsigned long, void>(unsigned long const&, unsigned long const&)
| | | | | | | |
| | | | | | | |--9.65%-- uint128_t::uint128_t<unsigned int, unsigned int>(unsigned int const&)
| | | | | | | |
| | | | | | | --1.49%-- @plt
| | | | | | |
| | | | | | |--13.97%-- uint128_t::operator>=(uint128_t const&) const
| | | | | | | |--25.04%-- [hit in function]
| | | | | | | |
| | | | | | | |--39.33%-- uint128_t::operator>(uint128_t const&) const
| | | | | | | |
| | | | | | | |--29.10%-- uint128_t::operator==(uint128_t const&) const
| | | | | | | |
| | | | | | | --6.52%-- @plt
| | | | | | |
| | | | | | |--7.61%-- uint128_t::operator-=(uint128_t const&)
| | | | | | | |--8.57%-- [hit in function]
| | | | | | | |
| | | | | | | |--53.32%-- uint128_t::operator-(uint128_t const&) const
| | | | | | | | |--76.59%-- [hit in function]
| | | | | | | | |
| | | | | | | | |--17.53%-- uint128_t::uint128_t<unsigned long, unsigned long, void>(unsigned long const&, unsigned long const&)
| | | | | | | | |
| | | | | | | | |--5.85%-- @plt
| | | | | | | | |
| | | | | | | | --0.03%-- [kernel.kallsyms][+ffffff8008125282]
| | | | | | | | [kernel.kallsyms][+ffffff8008ceb91a]
| | | | | | | | [kernel.kallsyms][+ffffff8008ceb662]
| | | | | | | | [kernel.kallsyms][+ffffff80084c7a6c]
| | | | | | | |
| | | | | | | |--35.07%-- uint128_t::operator=(uint128_t&&)
| | | | | | | | |--73.47%-- [hit in function]
| | | | | | | | |
| | | | | | | | |--9.13%-- libAudioEngine.so[+237f4]
| | | | | | | | |
| | | | | | | | |--8.70%-- libAudioEngine.so[+23800]
| | | | | | | | |
| | | | | | | | --8.70%-- libAudioEngine.so[+237f8]
| | | | | | | |
| | | | | | | --3.04%-- @plt
| | | | | | |
| | | | | | |--7.28%-- uint128_t uint128_t::operator&<int, int>(int const&) const
| | | | | | | |--62.94%-- [hit in function]
| | | | | | | |
| | | | | | | |--24.83%-- uint128_t::uint128_t<int, unsigned long, void>(int const&, unsigned long const&)
| | | | | | | |
| | | | | | | --12.23%-- @plt
| | | | | | |
| | | | | | |--3.87%-- uint128_t::operator++()
| | | | | | | |--12.13%-- [hit in function]
| | | | | | | |
| | | | | | | |--81.78%-- uint128_t::operator+=(uint128_t const&)
| | | | | | | |
| | | | | | | --6.09%-- @plt
| | | | | | |
| | | | | | |--2.06%-- @plt
| | | | | | |
| | | | | | |--1.90%-- uint128_t::operator bool() const
| | | | | | |
| | | | | | |--1.83%-- uint128_t::bits() const
| | | | | | |
| | | | | | |--0.44%-- uint128_t::operator<<(uint128_t const&) const
| | | | | | |
| | | | | | |--0.21%-- uint128_t::operator=(uint128_t&&)
| | | | | | |
| | | | | | --0.21%-- std::__ndk1::pair<uint128_t, uint128_t>::pair<true, false>(uint128_t const&, uint128_t const&)
| | | | | | uint128_t::uint128_t(uint128_t const&)
| | | | | |
| | | | | |--0.70%-- uint128_t::operator<<=(uint128_t const&)
| | | | | |
| | | | | |--0.44%-- uint128_t::operator++()
| | | | | |
| | | | | |--0.21%-- uint128_t::operator>=(uint128_t const&) const
| | | | | |
| | | | | --0.20%-- uint128_t uint128_t::operator>><unsigned int, unsigned int>(unsigned int const&) const
| | | | |

@calccrypto
Copy link
Owner

This looks like profiler output showing that division is slow. Where in this output does it say that underruns are occurring?

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

No branches or pull requests

2 participants