2.2.0 • Published 9 years ago

docpad-plugin-heapdumper v2.2.0

Weekly downloads
21
License
-
Repository
github
Last release
9 years ago

HeapDump Plugin for DocPad

NPM version Dependency Status Gittip donate button Analytics

Generates heap snapshots during specified docpad events that can be loaded in to the chrome profiler. Snapshot files are generated in the root of docpad by default

Config

plugins:
	heapdumper:
		# default output path relative to the docpad root path
		snapshotPath: "snapshots"
		# default events that this plugin write a snapshot at (change to suit your docpad instance)
		events: [
			'writeAfter' # (default)
		]
Some of the events that can be specified
	'generateBefore'
	'generateAfter'
	'parseBefore'
	'parseAfter'
	'populateCollectionsBefore'
	'populateCollections'
	'contextualizeBefore'
	'contextualizeAfter'
	'renderBefore'
	'renderAfter'
	'renderCollectionBefore'
	'renderCollectionAfter'
	'writeBefore'
	'writeAfter' # (default)
	'serverBefore'
	'serverAfter'

Full event list is here

Be warned that snapshoting the render event will take a long time depending on how many documents you have to render. So use wisley, i.e. a test instance of docpad with 3 files to render

Tips

Good advice here:

History

You can discover the history inside the History.md file

Contributing

You can discover the contributing instructions inside the Contributing.md file

License

Licensed under the incredibly permissive MIT License Copyright © 2013+ Stringz Solutions Ltd Copyright © 2013+ Peter Flannery

2.2.0

9 years ago

2.1.1

9 years ago

2.1.0

9 years ago

2.0.3

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago