An open API service indexing awesome lists of open source software.

https://github.com/openweb-nl/hst-diagnostics-extension

HST Page Diagnostics extension
https://github.com/openweb-nl/hst-diagnostics-extension

Last synced: 11 months ago
JSON representation

HST Page Diagnostics extension

Awesome Lists containing this project

README

          

# Hippo Diagnostics Extension
## Introduction
This is a plugin for Hippo ([Hippo CMS](https://www.onehippo.org)) Site Toolkit that enable users to profile their code via annotations.

## USAGE

**Step 1:** Add the following dependency to your project /site/pom.xml file (Or a dependency of your project's site)

```xml

nl.openweb.hippo
hst-diagnostics-extension
1.0.0

```
**Step 2:** Add the following profile to your project /site/pom.xml file
```xml

profile


org.aspectj
aspectjrt
${aspectjweaver.version}





org.codehaus.mojo
aspectj-maven-plugin
1.10



nl.openweb.hippo
hst-diagnostics-extension


1.8
1.8
1.8
true
true
ignore
UTF-8




compile





```
**Step 3:** Add @Timed annotations to some methods in your project.
```java
@Timed
public List getRelatedNews() {
// ...
}
```
**Step 4:** Build your project via profile "profile"
```bash
mvn clean install -Pprofile
```