3 Commits
Author SHA1 Message Date
Rick Newton-Rogers 61cfaf9798 Migrate to GitHub Actions (#487)
Migrate CI to use GitHub Actions.

### Motivation:

To migrate to GitHub actions and centralised infrastructure.

### Modifications:

Changes of note:
* Disable warnings-as-errors until issues with recent NIO changes are
resolved
* Adopt swift-format using rules from SwiftNIO
* Remove scripts which are no longer needed

### Result:

Feature parity with old CI minus allocation tests which remain on the
old CI.
2024-10-25 09:32:23 +01:00
George Barnett 6dcfa09717 Use 'AnyObject' for class-constrained protocols (#264)
Motivation:

Using the 'class' keyword to constrain a protocol to a class is
deprecated in favour of 'AnyObject' and recent compilers emit warnings
about this.

Modifications:

- Use 'AnyObject' to constrain the 'CallbackManagerProtocol' instead

Result:

- Fewer warnings.
2021-01-15 13:10:47 +00:00
Cory Benfield a8dbd07f42 Add benchmarks. (#154)
Motivation:

When working with performance its useful to know what your approximate
throughput is. One of the ways we find this out in NIO is to add
benchmarks that let you know what the approximate runtime of a simple
sample program is. NIOSSL doesn't have any of these: it should.

Modifications:

Bring across the benchmark framework from other NIO projects.
Add two benchmarks mirroring the proposed allocation counter tests.

Result:

Insight into performance.
2019-12-02 09:39:02 +00:00