Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Vinnie Falco vinniefalco

🏠
Working from home
Block or report user

Report or block vinniefalco

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:07b3378189293b7e94f56b2333e91de0
parse, small.json, boost.pool, 2438000, 5000, 280
parse, small.json, rapidjson.memory, 2391000, 5000, 275
parse, small.json, boost.default, 1422000, 5001, 164
parse, small.json, rapidjson.crt, 2150000, 5001, 247
parse, small.json, nlohmann, 594000, 5003, 68
parse, random.json, boost.pool, 626000, 5002, 268
parse, random.json, rapidjson.memory, 707000, 5002, 302
parse, random.json, boost.default, 400000, 5011, 171
parse, random.json, rapidjson.crt, 679000, 5005, 290
parse, random.json, nlohmann, 166000, 5005, 71
View gist:1bd4c30b04d2d4bf1361cde6aca2561b
parse, small.json, boost.pool, 280MB/s
parse, small.json, rapidjson.memory, 275MB/s
parse, small.json, boost.default, 164MB/s
parse, small.json, rapidjson.crt, 247MB/s
parse, small.json, nlohmann, 68MB/s
parse, random.json, boost.pool, 268MB/s
parse, random.json, rapidjson.memory, 302MB/s
parse, random.json, boost.default, 171MB/s
parse, random.json, rapidjson.crt, 290MB/s
parse, random.json, nlohmann, 71MB/s
View gist:5e360f60915f7e18aa3281637b681240
parse, array.json, boost(null), 6, 5492, 635
parse, array.json, boost(null), 6, 5100, 684
parse, array.json, boost(null), 6, 5100, 684
parse, array.json, boost(null), 6, 5096, 684
parse, array.json, boost(null), 6, 5095, 684
parse, array.json, boost(null), 6, 5109, 683
parse, array.json, boost(null), 684MB/s
parse, array.json, boost(default), 4, 5371, 433
parse, array.json, boost(default), 4, 5675, 410
parse, array.json, boost(default), 4, 5678, 409
View gist:e4f95927d2a47dd06a00192a34d1e674
parse, array.json, boost(null), 6, 5628, 620
parse, array.json, boost(null), 6, 5116, 682
parse, array.json, boost(null), 6, 5116, 682
parse, array.json, boost(null), 6, 5106, 683
parse, array.json, boost(null), 6, 5102, 683
parse, array.json, boost(null), 6, 5095, 684
parse, array.json, boost(null), 6, 5098, 684
parse, array.json, boost(null), 6, 5115, 682
parse, array.json, boost(null), 6, 5100, 684
parse, array.json, boost(null), 6, 5095, 684
View gist:a62824671ffa5a1a95d6b7e6f1892a85
parse, array.json, boost(null), 27, 3026, 519
parse, array.json, boost(null), 30, 3050, 572
parse, array.json, boost(null), 31, 3063, 588
parse, array.json, boost(null), 31, 3067, 587
parse, array.json, boost(null), 31, 3070, 587
parse, array.json, boost(null), 31, 3061, 589
parse, array.json, boost(null), 31, 3058, 589
parse, array.json, boost(null), 31, 3058, 589
parse, array.json, boost(null), 31, 3055, 590
parse, array.json, boost(null), 31, 3064, 588
View gist:f353c478d46a492bd4b4e63d40b65898
parse, array.json, boost(null), 27, 3038, 517
parse, array.json, boost(null), 30, 3056, 571
parse, array.json, boost(null), 31, 3055, 590
parse, array.json, boost(null), 31, 3053, 590
parse, array.json, boost(null), 31, 3055, 590
parse, array.json, boost(null), 31, 3052, 590
parse, array.json, boost(null), 31, 3060, 589
parse, array.json, boost(null), 31, 3052, 590
parse, array.json, boost(null), 31, 3054, 590
parse, array.json, boost(null), 31, 3057, 589
View gist:2dd8c5e15e6532cc88e30e4ab7d1033b
parse, array.json, boost(null), 10, 1050, 554
parse, array.json, boost(null), 10, 1053, 552
parse, array.json, boost(null), 10, 1052, 552
parse, array.json, boost(null), 11, 1055, 606
parse, array.json, boost(null), 11, 1019, 627
parse, array.json, boost(null), 11, 1024, 624
parse, array.json, boost(null), 11, 1020, 627
parse, array.json, boost(null), 11, 1020, 627
parse, array.json, boost(null), 11, 1021, 626
parse, array.json, boost(null), 11, 1023, 625
View gist:8a8675a44d7d398910786c35c88e20e5
Parse small JSON (582 bytes)
boost(default), 1718ms, 165Mb/s
boost(default), 1732ms, 164Mb/s
boost(default), 1729ms, 164Mb/s
boost(default), 1733ms, 163Mb/s
boost(default), 1732ms, 164Mb/s
boost(block), 1290ms, 220Mb/s
boost(block), 1265ms, 224Mb/s
boost(block), 1258ms, 225Mb/s
boost(block), 1267ms, 224Mb/s
View gist:21763949057ae523e84845e0e74ddd4a
template<class T, class = void>
struct is_storage : std::false_type {};
template<class T>
struct is_storage<T, detail::void_t<decltype(
T::id,
T::need_free,
std::declval<void*&>() =
std::declval<T&>().allocate(
std::declval<std::size_t>(),
View gist:24cbe0794b053748eef4ac079e5a406c
#
# Copyright (c) 2019 Vinnie Falco (vinnie dot falco at gmail dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
import os ;
using msvc ;
You can’t perform that action at this time.