Tweaking memory stats and trying to figure out why startup got so much slower.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3828 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-02-06 03:28:29 +00:00
parent fbb61581c6
commit 6b20d69976
3 changed files with 10 additions and 10 deletions

View File

@ -1004,7 +1004,9 @@ static void _tf_ssb_connection_rpc_recv(tf_ssb_connection_t* connection, uint8_t
connection->ssb->rpc_in++;
if (flags & k_ssb_rpc_flag_json)
{
printf("RPC RECV flags=%x RN=%d: %.*s\n", flags, request_number, (int)size, message);
char id[k_id_base64_len] = "";
tf_ssb_id_bin_to_str(id, sizeof(id), connection->serverpub);
printf("RPC RECV from %s flags=%x RN=%d: %.*s\n", id, flags, request_number, (int)size, message);
JSContext* context = connection->ssb->context;
JSValue val = JS_ParseJSON(context, (const char*)message, size, NULL);