Skip to content

jthugg/tsid-vs-uuid-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿค– TSID vs UUID Benchmark Test

๐Ÿง‘โ€๐Ÿ’ป ํ…Œ์ŠคํŠธ ์‹คํ–‰ ๋ฐฉ๋ฒ•

  • ํ”„๋กœ์ ํŠธ๋ฅผ ํด๋ก ํ•˜๊ณ  ๋ฃจํŠธ ๋””๋ ‰ํ† ๋ฆฌ์—์„œ ํ…Œ์ŠคํŠธ ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.

    ./run-generate-test.sh
    ./run-set-insert-test.sh
  • ํ…Œ์ŠคํŠธ ์Šคํฌ๋ฆฝํŠธ ์‹คํ–‰์ด ์™„๋ฃŒ๋˜๋ฉด ./src/test/resources/results/ ๊ฒฝ๋กœ์— .csv ํŒŒ์ผ์ด ์ƒ์„ฑ๋ฉ๋‹ˆ๋‹ค.

๐Ÿ“š ์ฐธ๊ณ ์‚ฌํ•ญ

  • Set ์ž๋ฃŒ๊ตฌ์กฐ๋Š” TreeSet(*Red-Black Tree)์ž…๋‹ˆ๋‹ค.
  • Set ์‚ฝ์ž… ์—ฐ์‚ฐ ์‹œ synchronized ๋ธ”๋ก์œผ๋กœ ๋™๊ธฐํ™”์ฒ˜๋ฆฌ๋ฅผ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.

About

๐Ÿค– TSID vs UUID Benchmark Test in Java 17

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published