Skip to content

Commit 5b0fcc8

Browse files
committed
Updating jvmperf.net for Docsy, initial slides, JDK 17
1 parent a2d481e commit 5b0fcc8

File tree

126 files changed

+13580
-647
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+13580
-647
lines changed

.github/workflows/gh-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
deploy:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
defaults:
1212
run:
1313
working-directory: ./docs
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Hugo
2121
uses: peaceiris/actions-hugo@v2
2222
with:
23-
hugo-version: '0.120.4'
23+
hugo-version: '0.147.2'
2424
extended: true
2525

2626
- name: Setup Node

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ dumps/
3838
# docs
3939
docs/resources/
4040
docs/public/
41-
docs/node_modules/
41+
docs/node_modules/
42+
docs/.hugo_build.lock

.tool-versions

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
java openjdk-17
2+
maven 3.9.3
3+
hugo 0.96.0

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"java.configuration.updateBuildConfiguration": "automatic"
3+
}

TODO.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# TODOs
2+
3+
## Update the use of Gatling
4+
5+
The current references to using gatling are pretty old. Need to update it so we can utilizes later versions.
6+
7+
### Using gatling
8+
9+
Alternatively, you can use [gatling](https://gatling.io/) (a performance library with a scala dsl ).
10+
11+
This should launch the `WorkshopSimulation`.
12+
13+
```bash
14+
mvn -f java-perf-workshop-tester/ gatling:test
15+
```
16+
17+
Sample output while running:
18+
```bash
19+
[~/java-perf-workshop/java-perf-workshop-tester]$ mvn gatling:test
20+
[INFO] Scanning for projects...
21+
[INFO]
22+
[INFO] ------------------------------------------------------------------------
23+
[INFO] Building java-perf-workshop-tester 1.1.0-SNAPSHOT
24+
[INFO] ------------------------------------------------------------------------
25+
[INFO]
26+
[INFO] --- gatling-maven-plugin:2.2.4:test (default-cli) @ java-perf-workshop-tester ---
27+
19:12:16,662 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
28+
19:12:16,663 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
29+
19:12:16,663 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/J:/Workspaces/java-perf-workshop/java-perf-workshop-tester/target/test-classes/logback.xml]
30+
19:12:16,663 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
31+
19:12:16,663 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/J:/Workspaces/java-perf-workshop/java-perf-workshop-tester/target/test-classes/logback.xml]
32+
19:12:16,663 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/C:/Users/JMonterrubio/.m2/repository/io/gatling/gatling-maven-plugin/2.2.4/gatling-maven-plugin-2.2.4.jar!/logback.xml]
33+
19:12:16,727 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
34+
19:12:16,731 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
35+
19:12:16,737 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
36+
19:12:16,742 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
37+
19:12:16,781 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to WARN
38+
19:12:16,782 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT]
39+
19:12:16,782 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
40+
19:12:16,783 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@7a0ac6e3 - Registering current configuration as safe fallback point
41+
42+
Simulation cchesser.javaperf.workshop.WorkshopSimulation started...
43+
```
44+

docs/.tool-versions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
hugo extended_0.147.2
2+
golang 1.24.2

docs/assets/icons/logo.svg

Lines changed: 18 additions & 0 deletions
Loading

docs/assets/scss/_variables_project.scss

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/*
2+
3+
Add styles or override variables from the theme here.
4+
5+
*/
16
$primary: #27496d !default;
27
$primary-light: lighten($primary, 75%) !default;
38
$secondary: #142850 !default;
@@ -21,16 +26,3 @@ $gray-700: #495057 !default;
2126
$gray-800: #333 !default;
2227
$gray-900: #222 !default;
2328
$black: #000 !default;
24-
25-
$code-color: darken($secondary, 20%) !default;
26-
27-
// UI element colors
28-
29-
$border-color: $gray-300 !default;
30-
$td-sidebar-bg-color: rgba($primary, 0.03) !default;
31-
$td-sidebar-border-color: $border-color !default;
32-
33-
// Background colors for the sections on home page etc. It is a paint by number system, starting at 0, where the number is taken from the shortcode's ordinal
34-
// if not provided by the user.
35-
// These colors are all part of the theme palette, but the mix is fairly random to create variation. This can be overridden by the project if needed.
36-
$td-box-colors: $dark, $primary, $secondary, $info, $primary-light, $gray-600, $success, $warning, $dark, $danger, $primary, $secondary, $primary-light, $info !default;

0 commit comments

Comments
 (0)