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

Saves more init time + fixes a minor SSshuttle bug #445

Merged
merged 17 commits into from
Sep 2, 2023

Commits on Jul 29, 2023

  1. Micro-optimize GetIdFromArguments to be 48% faster, gaining 0.48s of …

    …init time on local (likely more in prod) (#69659)
    
    
    About The Pull Request
    
        Avoids stringifying key unless its necessary. This was done redundantly twice, but I locked it to just the isnum path, as REF will always return a string, and the other path passes istext.
        Use sortTim directly instead of sort_list. sort_list is just sortTim but it copies the list, so it's just wasted cost.
    
    I still would like the bespoke element key option, as that's the only way to drastically cut down costs on things like item descriptions and decals, but this is good for the general use case, and makes it marginally less pressing.
    
    I also want to test if we'd be better off inserting into the list in sorted order rather than sorting it all in the end, but I suspect not.
    Mothblocks authored and Kapu1178 committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    bf2354f View commit details
    Browse the repository at this point in the history
  2. Load circuit components from USB ports on demand, saving 0.5s of init…

    … time (0.7s on prod) (#69664)
    
    We create 2,383 circuit components (on whatever map I was looking at on Sybil at the time, don't know) from USB ports every round, quite pricey. This makes them initialize once when a USB is first plugged in.
    Mothblocks authored and Kapu1178 committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    6265134 View commit details
    Browse the repository at this point in the history
  3. speed

    Mothblocks authored and Kapu1178 committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    2d8f543 View commit details
    Browse the repository at this point in the history
  4. big ports

    Mothblocks authored and Kapu1178 committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    b4f84f7 View commit details
    Browse the repository at this point in the history
  5. this has been annoying me

    Kapu1178 committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    15d2f77 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2023

  1. Add defines for byond-tracy support (#70931)

    Adds `USE_BYOND_TRACY`, which automatically loads a given
    prof.dll/libprof.so using https://github.com/mafemergency/byond-tracy/.
    
    Not intended for use in production, and we do not ship a copy of
    byond-tracy. It is extremely easy to compile yourself, but if you're
    someone interesting enough to play around with this then let me know and
    I can just give you a build.
    
    I'm going to be using this for init profiling.
    Mothblocks authored and Kapu1178 committed Jul 30, 2023
    Configuration menu
    Copy the full SHA
    3937a9f View commit details
    Browse the repository at this point in the history
  2. optimize icon smoothing

    Kapu1178 committed Jul 30, 2023
    Configuration menu
    Copy the full SHA
    c7f4d54 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ad1d5e View commit details
    Browse the repository at this point in the history
  4. fix it for real

    Kapu1178 committed Jul 30, 2023
    Configuration menu
    Copy the full SHA
    392986c View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. fix alot of bugs

    Kapu1178 committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    66cd021 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. fix mineral turrfs

    Kapu1178 committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    1bbd788 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2023

  1. Configuration menu
    Copy the full SHA
    d75e952 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2023

  1. debug time

    Kapu1178 committed Aug 20, 2023
    Configuration menu
    Copy the full SHA
    76456c6 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Configuration menu
    Copy the full SHA
    8482b08 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Configuration menu
    Copy the full SHA
    08b87d9 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2023

  1. Configuration menu
    Copy the full SHA
    e2b9c35 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2023

  1. remove debug code

    Kapu1178 committed Sep 2, 2023
    Configuration menu
    Copy the full SHA
    fbdaefb View commit details
    Browse the repository at this point in the history