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 fixes and code checker cleanups #622

Open
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

ethouris
Copy link
Collaborator

@ethouris ethouris commented Mar 20, 2019

This PR contains now only the following things:

  1. The change for CC event system - more parts shifted from runtime to compile time. The argument isn't wrapped in EventVariant (this is also removed) and passed directly, also the event type is passed as a template parameter. For that use the updateCC function has been reworked to contain calls for external non-template parts as well as expanded inline even-type dependent parts for which checks for event-specific part is also compile-time resolved.

  2. Iteration tracker for the case of queue.cpp that should find the right entity to operate on depending on time and subscribed CUDT entities. Intended for experiments to see if this search procedure is optimal.

  3. FastDriftTracer. An intended replacement for DriftTracer that should use the "jumping average" for calculating the average. The algorithm itself needs improvements (all so far experiments show that it's largely inferior towards IIR) and this class is intended just for experiments to see if it behaves better. This could be made better by having DriftTracer leave the average value calculation up to another facility, for which IIR implementation would be default.

Mikołaj Małecki and others added 22 commits March 14, 2018 09:11
@ethouris ethouris added the [core] Area: Changes in SRT library core label Mar 25, 2019
CMakeLists.txt Outdated Show resolved Hide resolved
apps/socketoptions.hpp Outdated Show resolved Hide resolved
@ethouris ethouris added this to the v1.4.2 milestone Nov 4, 2019
@ethouris ethouris added Status: Review Needed Type: Maintenance Work required to maintain or clean up the code labels Dec 5, 2019
@maxsharabayko maxsharabayko modified the milestones: v1.5.0, v1.5.1 Jul 27, 2020
@mbakholdina mbakholdina modified the milestones: v1.5.1, Backlog May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Maintenance Work required to maintain or clean up the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants