memory_get_usage — PHP に割り当てられたメモリの量を返す

memory_get_usage()でPHP に割り当てられたメモリの量が取得できます。これで自分でどの手法がメモリ使用量が少ないか、などの測定ができますね。デバッガと共に使うとより便利そうです。

関連する記事:

Powered by

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">