+
Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Conversation

MrMage
Copy link
Contributor

@MrMage MrMage commented Apr 11, 2019

Benchmark results compared to Core 3.8.1:

Screen Shot 2019-04-11 at 11 10 40

I.e. another 3x improvement, as promised. (cc @weissi)

We could also delete FutureType entirely now. Technically, this is part of Core's public API, but as far as I can tell, its only purpose was to allow implementing flatten, which now seems to be possible without that workaround.

@MrMage MrMage requested a review from tanner0101 April 11, 2019 09:11
@MrMage
Copy link
Contributor Author

MrMage commented Apr 11, 2019

Benchmark for TemplateKit's testEncodingPerformanceExampleModel, with 5000 instead of 500 model entries (to improve the statistical significance of the test):

Screen Shot 2019-04-11 at 11 21 06

@MrMage
Copy link
Contributor Author

MrMage commented Apr 11, 2019

Impact on Leaf's testRenderPerformance:

Screen Shot 2019-04-11 at 11 28 16

Copy link
Member

@MrLotU MrLotU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think FutureType will go with Vapor 4 and the deprecation of Core, but for now, let's keep it around to not break public API :) Thanks for the PR, LGTM!

@MrLotU
Copy link
Member

MrLotU commented Apr 12, 2019

CC: @tanner0101

@MrMage
Copy link
Contributor Author

MrMage commented Apr 17, 2019

Friendly ping @tanner0101 :-)

Copy link
Member

@tanner0101 tanner0101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this @MrMage, thanks!

@tanner0101 tanner0101 merged commit 2731f8b into vapor:master Apr 23, 2019
@penny-coin
Copy link

Hey @MrMage, you just merged a pull request, have a coin!

You now have 25 coins.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载