Skip to content

Instantly share code, notes, and snippets.

View n1xim's full-sized avatar

Drew Northup n1xim

View GitHub Profile
@n1xim
n1xim / ocp.php
Last active December 21, 2015 22:48 — forked from ck-on/ocp.php
I've updated _ck_'s OPcache control panel to not use a base 2 scale for "hits" (it is a base 10 value).
<?php
/*
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)
Author: _ck_ (with contributions by GK, stasilok,n1xim)
Version: 0.1.7
Free for any kind of use or modification, I am not responsible for anything, please share your improvements
* revision history
0.1.7 2013-08-29 changed scaling of "hits" to base 10 (n1xim)
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter