https://github.com/vy/date-time-format-benchmark
Java Date & Time formatter benchmarks.
https://github.com/vy/date-time-format-benchmark
Last synced: 5 months ago
JSON representation
Java Date & Time formatter benchmarks.
- Host: GitHub
- URL: https://github.com/vy/date-time-format-benchmark
- Owner: vy
- License: apache-2.0
- Created: 2021-10-26T07:44:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-24T16:09:07.000Z (over 4 years ago)
- Last Synced: 2025-06-06T10:44:23.394Z (about 1 year ago)
- Language: Java
- Size: 88.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.adoc
- License: COPYING.txt
Awesome Lists containing this project
README
// Copyright 2021 Volkan Yazıcı
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
https://github.com/vy/date-time-format-benchmark/actions[image:https://github.com/vy/date-time-format-benchmark/workflows/build/badge.svg[CI Status]]
https://www.apache.org/licenses/LICENSE-2.0.txt[image:https://img.shields.io/github/license/vy/date-time-format-benchmark.svg[License]]
Benchmarking project comparing various Java date & time formatter performances.
== Usage
Even though all the benchmarked formatters are compatible with Java 8, Java 17 or higher is required for the purpose of running on a modern Java stack.
. Build sources:
+
[source,bash]
----
./mvnw clean package
----
. Run benchmarks:
+
[source,bash]
----
java -jar target/date-time-format-benchmark.jar -f 0 -wi 0 -i 1 -r 10s
----
For samples, see https://github.com/vy/date-time-format-benchmark/actions[earlier runs performed by CI].