New Script, CLI version of Lorem Ipsum

Author Message

Ammar Ibrahim

Thursday 09 November 2006 4:58:15 am

I have written a CLI script (still alpha) for the Lorem Ipsum extension which allows the generation of mass content (e.g. generating 10000 articles under a certain folder).

I have also added a functionality of sleep between inserts, which is very useful for benchmarking. We use this to test any memory leaks. For example, insert an article every 2 minutes (Memick our editorial team productivity).

If anyone is interested, let me know, and I will share the code with you. I will contribute this once it's more stable.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:16:57
Script start
Timing: Jan 18 2025 16:16:57
Module start 'layout'
Timing: Jan 18 2025 16:16:57
Module start 'content'
Timing: Jan 18 2025 16:16:57
Module end 'content'
Timing: Jan 18 2025 16:16:57
Script end

Main resources:

Total runtime0.0165 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.1484152.6250
Module start 'layout' 0.00630.0035 741.773439.4453
Module start 'content' 0.00980.0049 781.218885.1328
Module end 'content' 0.01470.0018 866.351630.3047
Script end 0.0165  896.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002816.9228140.0002
Check MTime0.00116.4416140.0001
Mysql Total
Database connection0.00095.223310.0009
Mysqli_queries0.002917.601930.0010
Looping result0.00000.157110.0000
Template Total0.00159.010.0015
Template load0.00084.766310.0008
Template processing0.00074.232910.0007
Override
Cache load0.00063.380810.0006
General
dbfile0.00031.949280.0000
String conversion0.00000.059140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs