Skip to content
Branch: master
Commits on Nov 8, 2019
  1. Cow-box WebSocketFrame. (#1211)

    marlimox authored and Lukasa committed Nov 8, 2019
    WebSocketFrameDecoder makes an allocation due to WebSocketFrame not fitting in an
    existential. We should reduce this overhead.
    Moved data and extensionData into a cow-box and reorder fields to more efficiently
    pack them.
    WebSocketFrame is now 14 bytes, down from 55.
Commits on Nov 7, 2019
  1. Allow single test to be specified as an argument to run-nio-alloc-cou…

    marlimox authored and weissi committed Nov 7, 2019
    … (#1214)
    * Allow single test to be specified as an argument to
    Motivation: currently runs all tests. When writing or
    debugging a test, you commonly want to run a single test. At the moment the
    common practice is to edit the script to hardcode a test to run, which is
    annoying and error-prone.
    Add an optional argument to the script to specify the test to run.
    $ ./
    runs all tests.
    $ ./ test_decode_1000_ws_frames.swift
    runs only test_decode_1000_ws_frames.swift.
Commits on Oct 30, 2019
You can’t perform that action at this time.