Welcome

BoltWire is a content management system developed by Dan Vis.

Welcome Tour
Documentation
Mailing List



Popular Posts

Version 5.11 Released
May 26, 2016

Big Changes Coming Soon...
April 28, 2016

Catching Up
April 6, 2016



Other Sites

Here's some other sites by Dan Vis:

Alexa Echoes
Join my adventures developing for Amazons exciting new voice platform.

Firefly Spot
Personal rambling about new gadgets, technology news, and space travel.

FAST Missions
My ministry hub, with news and updates about our online school.

You can follow him at www.danvis.info.

Stopwatch

Documentation > Concepts > Stopwatch

BoltWire comes with a built in stopwatch feature you can use to test various configurations, plugins, etc, to benchmark performance. To use it, put the following in index.php before calling the engine.


$BOLTstopWatch = true;

It tracks various points in the site processing.

To track how long each function takes set $BOLTstopWatch to 'functions'. To track each command, set $BOLTstopWatch to 'commands'. To track both, set it to 'all'.

You can track other points by inserting the following into the code at various points in the code.


BOLTstopWatch('Some unique message');

This output is only visible to the superadmin (not just admins). Generally, it is used offline for development purposes.

TAGS:
To leave a comment, please login using your Facebook account: