»
« home   paste   Anonymous | Login | Signup for a new account 05-28-2017 14:16 CEST
 
* X »
«
GeSHi - Generic Syntax Highlighter Syntax Coloriser for PHP
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000104 [GeSHi] core tweak sometimes 02-01-07 10:21 02-01-07 10:23
Reporter BenBE View Status public  
Assigned To BenBE
Priority low Resolution fixed  
Status resolved   Product Version 1.1.2alpha3
Summary 0000104: Optimize geshi_dbg for production systems
Description When using GeSHi on a production system geshi_dbg slows down execution up to 10 percent wasting time for a check that would always result to be false if debugging is disabled.
Additional Information An optimization would be to split geshi_dbg into two functions where the production version would only contain a stub that executes nothing (only requiring time for invokation).
Attached Files

- Relationships

- Notes
(0000484)
BenBE
02-01-07 10:23

geshi_dbg is now optimized to be fixed in its behaviour upon entry into the GeSHi core, thus requiring to setup a constant GESHI_DBG_ENABLE to true BEFORE including GeSHi if debugging output is needed.
 

- Issue History
Date Modified Username Field Change
02-01-07 10:21 BenBE New Issue
02-01-07 10:21 BenBE Status new => assigned
02-01-07 10:21 BenBE Assigned To  => BenBE
02-01-07 10:23 BenBE Status assigned => resolved
02-01-07 10:23 BenBE Fixed in Version  => 1.1.2alpha4
02-01-07 10:23 BenBE Resolution open => fixed
02-01-07 10:23 BenBE Note Added: 0000484

  


Mantis 1.0.0rc2[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker