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

Programクラスのパフォーマンス改善 #55

Merged
merged 7 commits into from
May 12, 2019
Merged

Programクラスのパフォーマンス改善 #55

merged 7 commits into from
May 12, 2019

Commits on Apr 26, 2019

  1. program: improve performance of the get and exists methods

    Improve the time complexity of `get` and `exists` methods from O(N) to
    O(1).
    
    This change affects performance of the following functions:
    
    * Load time of program.json
    * findByNetworkIdAndReplace
    
    New private member variable `_itemMap` has been introduced, which maps
    program IDs to their associated ProgramItem objects.
    masnagam committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    5bf3eb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bbdc25f View commit details
    Browse the repository at this point in the history

Commits on May 4, 2019

  1. Configuration menu
    Copy the full SHA
    ba086a4 View commit details
    Browse the repository at this point in the history
  2. program: remove _items

    The `Map` class keeps insertion order.  So, we expect that the order
    of program items in new `Program.items` is the same as the old one,
    hopefully...
    masnagam committed May 4, 2019
    Configuration menu
    Copy the full SHA
    48858b3 View commit details
    Browse the repository at this point in the history
  3. add docker-compose.yml for test purpose

    Dockerfile has been updated because it didn't work.  In addition, the
    inconsistent line endings in Dockerfile have been fixed.
    
    docker-compose.yml has been added for test purpose.  A data volume
    which mounted at /usr/local/var/db/mirakurun is created automatically
    when running `docker-compose up`.  Use `docker-compose down` with the
    `-v` option if you want to remove the data volume at the shutdown.  Or
    remove it manually using `docker voluem rm`.
    masnagam committed May 4, 2019
    Configuration menu
    Copy the full SHA
    fbc67e1 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2019

  1. program: update a comment

    masnagam committed May 5, 2019
    Configuration menu
    Copy the full SHA
    57107e7 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2019

  1. Revert "add docker-compose.yml for test purpose"

    This reverts commit fbc67e1.
    masnagam committed May 12, 2019
    Configuration menu
    Copy the full SHA
    1c7acea View commit details
    Browse the repository at this point in the history