Skip to content

Instantly share code, notes, and snippets.

View jhedstrom's full-sized avatar

Jonathan Hedstrom jhedstrom

  • Phase2
  • Portland, OR
View GitHub Profile
@jhedstrom
jhedstrom / gist:1386627
Created November 22, 2011 19:21
Webform node via profiler syntax (7.x)
nodes[contact][type] = webform
nodes[contact][title] = Contact
nodes[contact][body][und][0][value] = 'TODO'
nodes[contact][body][und][0][format] = full_html
nodes[contact][uid] = 1
nodes[contact][language] = und
nodes[contact][menu][enabled] = 1
nodes[contact][menu][link_title] = Contact
nodes[contact][menu][menu_name] = user-menu
nodes[contact][menu][weight] = 42
@jhedstrom
jhedstrom / gist:1126323
Created August 4, 2011 21:26
programme with and w/o session status
Overall Summary (w/o session status)
Total Incl. Wall Time (microsec): 7,190,421 microsecs
Total Incl. CPU (microsecs): 3,648,228 microsecs
Total Incl. MemUse (bytes): 32,225,616 bytes
Total Incl. PeakMemUse (bytes): 33,973,720 bytes
Number of Function Calls: 321,664
Overall Summary (w/ session status)
Total Incl. Wall Time (microsec): 5,626,672 microsecs
Total Incl. CPU (microsecs): 4,224,264 microsecs