Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.

Commit

Permalink
Update S3EscaperBenchmark.java
Browse files Browse the repository at this point in the history
  • Loading branch information
kzhsw authored Feb 2, 2024
1 parent 586f3d7 commit a95e2a5
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/main/java/kzhsw/S3EscaperBenchmark.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,23 @@
@State(Scope.Thread)
public class S3EscaperBenchmark {

@Param({"my-bucket", "photos/2024/02/02", "file.txt?versionId=3L137"})
@Param({
"my-bucket",
"photos/2024/02/02",
"file.txt?versionId=3L137",
"[email protected]",
"document.pdf",
"music/2024/album/song.mp3",
"video/2024/movie.mp4?versionId=1A2B",
"data/archive.zip",
"application/database.sqlite",
"folder/subfolder/file.txt",
"special-characters/!$&'()*+,/:;=@[]",
"emoji/πŸ˜€πŸ˜ƒπŸ˜„πŸ˜πŸ˜†πŸ˜…πŸ˜‚πŸ€£",
"non-english/こんにけは/μ•ˆλ…•ν•˜μ„Έμš”",
"long-string/" + "a".repeat(1000),
"deep-nesting/" + "folder/".repeat(100) + "file"
})
public String testString;

@Benchmark
Expand Down

0 comments on commit a95e2a5

Please sign in to comment.