Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F36455965
excimer2trace.php
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
Krinkle
Jan 23 2023, 10:25 PM
2023-01-23 22:25:12 (UTC+0)
Size
585 B
Referenced Files
None
Subscribers
None
excimer2trace.php
View Options
<?php
$profiler
=
new
ExcimerProfiler
;
$profiler
->
setPeriod
(
0.001
);
// every 1ms
$profiler
->
setEventType
(
EXCIMER_CPU
);
$profiler
->
start
();
register_shutdown_function
(
function
()
use
(
$profiler
)
{
$profiler
->
stop
();
file_put_contents
(
'trace.log'
,
$profiler
->
getLog
()->
formatCollapsed
()
);
}
);
KrinkleMac
in
~/
Development
/
less
.
php
$
docker
run
-
it
--
rm
--
entrypoint
/
bin
/
bash
--
volume
$PWD
:
$PWD
docker
-
registry
.
wikimedia
.
org
/
releng
/
php81
:
0.2
.
0
…
nobody
:/
less
.
php
# php -d auto_prepend_file=excimer2trace.php bin/lessc test/Fixtures/bootstrap-3.2/less/bootstrap.less out.css
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
10425904
Default Alt Text
excimer2trace.php (585 B)
Attached To
Mode
P43267 excimer2trace.php
Attached
Detach File
Event Timeline
Log In to Comment