Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bourgesl/renderperf
OpenJDK fork of RenderPerf Java2D Benchmark
https://github.com/bourgesl/renderperf
benchmark gui java2d
Last synced: 14 days ago
JSON representation
OpenJDK fork of RenderPerf Java2D Benchmark
- Host: GitHub
- URL: https://github.com/bourgesl/renderperf
- Owner: bourgesl
- License: gpl-2.0
- Created: 2023-11-04T12:30:19.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-13T07:23:25.000Z (11 months ago)
- Last Synced: 2024-11-09T00:53:18.563Z (2 months ago)
- Topics: benchmark, gui, java2d
- Language: Java
- Homepage: https://openjdk.org/
- Size: 40 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RenderPerf
Forked from Jetbrains Runtime (OpenJDK derived):
```
https://github.com/JetBrains/JetBrainsRuntime/test/jdk/performance/client/RenderPerfTest/
```-----------------------------------------------------------------------
Introduction
-----------------------------------------------------------------------RenderPerfTest is a set of on-screen rendering microbenchmarks to
analyze the performance of Java2D graphical primitives rendering-----------------------------------------------------------------------
How To Compile
-----------------------------------------------------------------------```
#> cd RenderPerfTest
```The benchmark can be compiled by using either ant:
```
#> ant
```
or gnumake (assuming there's 'javac' in the path):
```
#> gnumake
```
The jar files will be generated into RenderPerfTest/dist directory.-----------------------------------------------------------------------
How To Run RenderPerfTest
-----------------------------------------------------------------------
- Run all tests:
```
#> ant run
```
or
```
#> java -jar dist/RenderPerfTest.jar
```- Run particular test cases:
```
#> java -jar dist/RenderPerfTest.jar WhiteTextGray ...
```-----------------------------------------------------------------------
How To Get Help on RenderPerf
-----------------------------------------------------------------------
- Show help on command-line arguments:
```
#> java -jar dist/RenderPerfTest.jar -hUsing GraphicsConfiguration(s): [0:0][...]
##############################################################
# Render_Perf_Test 2023.12
##############################################################
# java ... RenderPerfTest
#
# Supported Arguments :
#
# -h : display this help
# -v : set verbose outputs
# -e : set execution mode (default: robot) among [robot, buffer, volatile]
#
# -f : use FPS unit (default)
# -t : use TIME(ms) unit
#
# -l : list available graphics configurations
# -g=all|0:0,0:1... : use all or specific graphics configurations
#
# -w : use number of test frames (default: 1)
#
# -n : set number of primitives (default: 1000)
# -r : set number of test repeats (default: 1)
#
# Test arguments: ArgbSurfaceBlitImage ArgbSwBlitImage BgrSurfaceBlitImage BgrSwBlitImage ClipFlatBox ClipFlatBoxAA ClipFlatOval ClipFlatOvalAA FlatBox FlatBoxAA FlatOval FlatOvalAA FlatOval_XOR FlatQuad FlatQuadAA Image ImageAA Image_XOR LargeTextGray LargeTextLCD LargeTextNoAA LinGrad3RotatedOval LinGrad3RotatedOvalAA LinGradRotatedOval LinGradRotatedOvalAA Lines LinesAA Lines_XOR RadGrad3RotatedOval RadGrad3RotatedOvalAA RotatedBox RotatedBoxAA RotatedBox_XOR RotatedOval RotatedOvalAA TextGray TextLCD TextLCD_XOR TextNoAA TextNoAA_XOR TextWiredQuadAABat TextWiredQuadAAMix TextWiredQuadBat TextWiredQuadMix VolImage VolImageAA VolImageFlatBoxAABat VolImageFlatBoxAAMix VolImageFlatBoxBat VolImageFlatBoxMix VolImageTextNoAABat VolImageTextNoAAMix VolImageWiredQuadAABat VolImageWiredQuadAAMix VolImageWiredQuadBat VolImageWiredQuadMix WhiteTextGray WhiteTextLCD WhiteTextNoAA WiredBox WiredBoxAA WiredBubbles WiredBubblesAA WiredQuad WiredQuadAA
```