{
  "note": "Supplementary idle snapshots after the full benchmark, not part of its original memory sample windows. cat memory.stat briefly runs inside each container. Query counts exclude console bootstrap and are not load-test latency measurements.",
  "records": {
    "before": {
      "memoryStat": {
        "anon": 86507520,
        "file": 34844672,
        "kernel": 6664192,
        "kernel_stack": 163840,
        "pagetables": 1912832,
        "sec_pagetables": 0,
        "percpu": 16560,
        "sock": 0,
        "vmalloc": 24576,
        "shmem": 33042432,
        "file_mapped": 33042432,
        "file_dirty": 0,
        "file_writeback": 0,
        "swapcached": 0,
        "anon_thp": 0,
        "file_thp": 0,
        "shmem_thp": 0,
        "inactive_anon": 119345152,
        "active_anon": 45056,
        "inactive_file": 806912,
        "active_file": 995328,
        "unevictable": 0,
        "slab_reclaimable": 3490656,
        "slab_unreclaimable": 997624,
        "slab": 4488280,
        "workingset_refault_anon": 0,
        "workingset_refault_file": 0,
        "workingset_activate_anon": 0,
        "workingset_activate_file": 0,
        "workingset_restore_anon": 0,
        "workingset_restore_file": 0,
        "workingset_nodereclaim": 0,
        "pgdemote_kswapd": 0,
        "pgdemote_direct": 0,
        "pgdemote_khugepaged": 0,
        "pgdemote_proactive": 0,
        "pgscan": 0,
        "pgsteal": 0,
        "pswpin": 0,
        "pswpout": 0,
        "pgscan_kswapd": 0,
        "pgscan_direct": 0,
        "pgscan_khugepaged": 0,
        "pgscan_proactive": 0,
        "pgsteal_kswapd": 0,
        "pgsteal_direct": 0,
        "pgsteal_khugepaged": 0,
        "pgsteal_proactive": 0,
        "pgfault": 1298756,
        "pgmajfault": 0,
        "pgrefill": 0,
        "pgactivate": 295,
        "pgdeactivate": 0,
        "pglazyfree": 0,
        "pglazyfreed": 0,
        "swpin_zero": 0,
        "swpout_zero": 0,
        "thp_fault_alloc": 0,
        "thp_collapse_alloc": 0,
        "thp_swpout": 0,
        "thp_swpout_fallback": 0
      },
      "processSnapshot": "PID                 COMMAND             PSS                 RSS\n26893               supervisord         17298               24344\n27189               nginx               1125                6120\n27190               php-fpm             5492                34024\n27191               php                 45164               63856\n27192               nginx               1421                3732\n27193               php-fpm             14830               51140\n27194               php-fpm             11946               47768\n27195               php-fpm             13184               49564\n27196               php-fpm             12177               48312\n",
      "queryProfile": {
        "status": 200,
        "elapsedMs": 55.82618713378906,
        "count": 14,
        "dbMs": 7.5200000000000005,
        "queries": {
          "select * from `api_keys` where `identifier` = ? limit 1": 1,
          "select * from `users` where `users`.`id` = ? limit 1": 1,
          "update `api_keys` set `last_used_at` = ?, `api_keys`.`updated_at` = ? where `id` = ?": 1,
          "select `servers`.* from `servers` left join `subusers` on `subusers`.`server_id` = `servers`.`id` where (`servers`.`owner_id` = ? or `subusers`.`user_id` = ?) group by `servers`.`id`": 1,
          "select count(*) as `aggregate` from `servers` where `servers`.`id` in (...)": 1,
          "select * from `servers` where `servers`.`id` in (...) limit 50 offset 0": 1,
          "select * from `allocations` where `allocations`.`id` in (...)": 1,
          "select * from `nodes` where `nodes`.`id` in (...)": 1,
          "select * from `eggs` where `eggs`.`id` in (...)": 1,
          "select * from `allocations` where `allocations`.`server_id` in (...)": 1,
          "select * from `server_transfers` where `successful` is null and `server_transfers`.`server_id` in (...) order by `id` desc": 1,
          "select * from `subusers` where `subusers`.`server_id` in (...)": 1,
          "select * from `egg_variables` where `egg_id` in (...)": 1,
          "select * from `server_variables` where `server_id` in (...)": 1
        }
      }
    },
    "after": {
      "memoryStat": {
        "anon": 86888448,
        "file": 63619072,
        "kernel": 10833920,
        "kernel_stack": 163840,
        "pagetables": 1933312,
        "sec_pagetables": 0,
        "percpu": 16560,
        "sock": 0,
        "vmalloc": 24576,
        "shmem": 33087488,
        "file_mapped": 33087488,
        "file_dirty": 0,
        "file_writeback": 0,
        "swapcached": 0,
        "anon_thp": 0,
        "file_thp": 0,
        "shmem_thp": 0,
        "inactive_anon": 119820288,
        "active_anon": 45056,
        "inactive_file": 4444160,
        "active_file": 26087424,
        "unevictable": 0,
        "slab_reclaimable": 7647992,
        "slab_unreclaimable": 992976,
        "slab": 8640968,
        "workingset_refault_anon": 0,
        "workingset_refault_file": 0,
        "workingset_activate_anon": 0,
        "workingset_activate_file": 0,
        "workingset_restore_anon": 0,
        "workingset_restore_file": 0,
        "workingset_nodereclaim": 0,
        "pgdemote_kswapd": 0,
        "pgdemote_direct": 0,
        "pgdemote_khugepaged": 0,
        "pgdemote_proactive": 0,
        "pgscan": 0,
        "pgsteal": 0,
        "pswpin": 0,
        "pswpout": 0,
        "pgscan_kswapd": 0,
        "pgscan_direct": 0,
        "pgscan_khugepaged": 0,
        "pgscan_proactive": 0,
        "pgsteal_kswapd": 0,
        "pgsteal_direct": 0,
        "pgsteal_khugepaged": 0,
        "pgsteal_proactive": 0,
        "pgfault": 1365020,
        "pgmajfault": 3,
        "pgrefill": 0,
        "pgactivate": 4984,
        "pgdeactivate": 0,
        "pglazyfree": 0,
        "pglazyfreed": 0,
        "swpin_zero": 0,
        "swpout_zero": 0,
        "thp_fault_alloc": 0,
        "thp_collapse_alloc": 0,
        "thp_swpout": 0,
        "thp_swpout_fallback": 0
      },
      "processSnapshot": "PID                 COMMAND             PSS                 RSS\n26583               supervisord         17335               24416\n26962               nginx               1196                6520\n26963               php-fpm             5515                34004\n26964               php                 45148               63852\n26965               nginx               1434                3732\n26966               php-fpm             15075               51832\n26967               php-fpm             12221               48636\n26968               php-fpm             12088               48192\n26969               php-fpm             12820               49536\n",
      "queryProfile": {
        "status": 200,
        "elapsedMs": 56.89501762390137,
        "count": 13,
        "dbMs": 7.78,
        "queries": {
          "select * from `api_keys` where `identifier` = ? limit 1": 1,
          "select * from `users` where `users`.`id` = ? limit 1": 1,
          "update `api_keys` set `last_used_at` = ?, `api_keys`.`updated_at` = ? where `id` = ?": 1,
          "select count(*) as `aggregate` from `servers` where `servers`.`id` in (...) group by `servers`.`id`)": 1,
          "select * from `servers` where `servers`.`id` in (...) group by `servers`.`id`) limit 50 offset 0": 1,
          "select * from `allocations` where `allocations`.`id` in (...)": 1,
          "select * from `nodes` where `nodes`.`id` in (...)": 1,
          "select * from `eggs` where `eggs`.`id` in (...)": 1,
          "select * from `allocations` where `allocations`.`server_id` in (...)": 1,
          "select * from `server_transfers` where `successful` is null and `server_transfers`.`server_id` in (...) order by `id` desc": 1,
          "select * from `subusers` where `subusers`.`server_id` in (...)": 1,
          "select * from `egg_variables` where `egg_id` in (...)": 1,
          "select * from `server_variables` where `server_id` in (...)": 1
        }
      }
    },
    "pterodactyl": {
      "memoryStat": {
        "anon": 83898368,
        "file": 54611968,
        "kernel": 9912320,
        "kernel_stack": 163840,
        "pagetables": 1843200,
        "sec_pagetables": 0,
        "percpu": 16560,
        "sock": 0,
        "vmalloc": 24576,
        "shmem": 31600640,
        "file_mapped": 31600640,
        "file_dirty": 0,
        "file_writeback": 0,
        "swapcached": 0,
        "anon_thp": 0,
        "file_thp": 0,
        "shmem_thp": 0,
        "inactive_anon": 115318784,
        "active_anon": 40960,
        "inactive_file": 3579904,
        "active_file": 19431424,
        "unevictable": 0,
        "slab_reclaimable": 6744776,
        "slab_unreclaimable": 1061336,
        "slab": 7806112,
        "workingset_refault_anon": 0,
        "workingset_refault_file": 0,
        "workingset_activate_anon": 0,
        "workingset_activate_file": 0,
        "workingset_restore_anon": 0,
        "workingset_restore_file": 0,
        "workingset_nodereclaim": 0,
        "pgdemote_kswapd": 0,
        "pgdemote_direct": 0,
        "pgdemote_khugepaged": 0,
        "pgdemote_proactive": 0,
        "pgscan": 0,
        "pgsteal": 0,
        "pswpin": 0,
        "pswpout": 0,
        "pgscan_kswapd": 0,
        "pgscan_direct": 0,
        "pgscan_khugepaged": 0,
        "pgscan_proactive": 0,
        "pgsteal_kswapd": 0,
        "pgsteal_direct": 0,
        "pgsteal_khugepaged": 0,
        "pgsteal_proactive": 0,
        "pgfault": 1270580,
        "pgmajfault": 0,
        "pgrefill": 0,
        "pgactivate": 3713,
        "pgdeactivate": 0,
        "pglazyfree": 0,
        "pglazyfreed": 0,
        "swpin_zero": 0,
        "swpout_zero": 0,
        "thp_fault_alloc": 0,
        "thp_collapse_alloc": 0,
        "thp_swpout": 0,
        "thp_swpout_fallback": 0
      },
      "processSnapshot": "PID                 COMMAND             PSS                 RSS\n26800               supervisord         17347               24488\n27236               nginx               1158                6364\n27237               php-fpm             5483                34064\n27238               php                 42984               61736\n27239               nginx               1525                3804\n27240               php-fpm             14274               49140\n27241               php-fpm             11561               46112\n27242               php-fpm             12534               47392\n27243               php-fpm             11627               46368\n",
      "queryProfile": {
        "status": 200,
        "elapsedMs": 179.28600311279297,
        "count": 310,
        "dbMs": 92.50999999999999,
        "queries": {
          "select * from `allocations` where `allocations`.`id` in (...)": 51,
          "select `egg_variables`.*, `server_variables`.`variable_value` as `server_value` from `egg_variables` left join `server_variables` on `server_variables`.`variable_id` = `egg_variables`.`id` and `server_variables`.`server_id` = ? where `egg_variables`.`egg_id` = ? and `egg_variables`.`egg_id` is not null": 50,
          "select * from `eggs` where `eggs`.`id` = ? and `eggs`.`id` is not null limit 1": 50,
          "select * from `server_transfers` where `server_transfers`.`server_id` = ? and `server_transfers`.`server_id` is not null and `successful` is null order by `id` desc limit 1": 50,
          "select * from `allocations` where `allocations`.`server_id` = ? and `allocations`.`server_id` is not null": 50,
          "select * from `servers` where `servers`.`id` = ? limit 1": 50,
          "select * from `api_keys` where `identifier` = ? limit 1": 1,
          "select * from `users` where `users`.`id` = ? limit 1": 1,
          "select count(*) as aggregate from `users` where `id` = ?": 1,
          "select count(*) as aggregate from `api_keys` where `identifier` = ? and `id` <> ?": 1,
          "update `api_keys` set `last_used_at` = ?, `api_keys`.`updated_at` = ? where `id` = ?": 1,
          "select `servers`.* from `servers` left join `subusers` on `subusers`.`server_id` = `servers`.`id` where (`servers`.`owner_id` = ? or `subusers`.`user_id` = ?) group by `servers`.`id`": 1,
          "select count(*) as aggregate from `servers` where `servers`.`id` in (...)": 1,
          "select * from `servers` where `servers`.`id` in (...) limit 50 offset 0": 1,
          "select * from `nodes` where `nodes`.`id` in (...)": 1
        }
      }
    }
  }
}
