Last active
April 5, 2022 04:01
-
-
Save katzkb/913420479f608c884dadcacf1793e5ad to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// データを10件用意 | |
val userSeq: Seq[User] = | |
(1L to 10L).map(id => User(UserId(id), "name" + id.toString)) | |
val groupSeq: Seq[Group] = | |
(1L to 10L).map(id => Group(GroupId(id), "name" + id.toString)) | |
val groupMemberSeq: Seq[GroupMember] = | |
(1L to 10L).map(id => GroupMember(GroupMemberId(id), UserId(id), GroupId(id))) | |
val startTime = System.currentTimeMillis | |
val result: Seq[UserView] = ... | |
println((System.currentTimeMillis - startTime).toString + "ミリ秒") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment