Miguel de Icaza on Nostr: Update, I must have done something wrong with Hummingbird and Xcode. Using "swift run ...
Update, I must have done something wrong with Hummingbird and Xcode.
Using "swift run -c release" rather than running in Release mode from Xcode brings Hummingbird to 52,305 req/sec and memory usage down to 16MB.
Published at
2024-05-26 21:41:35Event JSON
{
"id": "0cab72b5634296696a1145b7b95e3adf1cea3bb8c37f10cc82dbbd0b756e37f6",
"pubkey": "878c47bd4979fad7d81d5032895a0cbd8c7b3ac35f6b75f6131bd7144293d9fa",
"created_at": 1716759695,
"kind": 1,
"tags": [
[
"e",
"2b522b00e1de906242f60b5a3ce4a10b98abe9c5dff096ff69fcec5c353999e3",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.social/users/Migueldeicaza/statuses/112509563396295844",
"activitypub"
]
],
"content": "Update, I must have done something wrong with Hummingbird and Xcode.\n\nUsing \"swift run -c release\" rather than running in Release mode from Xcode brings Hummingbird to 52,305 req/sec and memory usage down to 16MB.",
"sig": "6e7d2547b6059c8eda7e851f72d6eee5fd57fe393c98acc37f5ceaa8a4cdd3192961748d1f972dfcb7e5648d81dd7e3f18a829930412843c0306fe8e3dd958c9"
}