Skip to content

Performance #373

@migueldeicaza

Description

@migueldeicaza

Currently about 12% of our performance when outputting characters is being consumed by swift_beginAccess when the insertCharacter accesses the buffer properties, and then when the buffer itself accesses

Image

Purely for the insertCharacter call, this accounts for 43.2% and retain/release for another 12%

Started at throughput 94,983, the way I measure this is by using the "Profile" option on the PerformanceTest class, like this:

Image

Branch is 'performance-experiment'

All my measurements are on a 2021 MacBook Pro with an M1 Max.

  • Validate that the syncValues in terminal for some variables were only needed when going from alt to normal, and not on the other way around (what the code in this branch does).
  • Implement lastBufferStorage for combing characters
  • Sync the wrap modes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions