Skip to content

Instantly share code, notes, and snippets.

@katzkb
Last active April 5, 2022 04:01
Show Gist options
  • Save katzkb/913420479f608c884dadcacf1793e5ad to your computer and use it in GitHub Desktop.
Save katzkb/913420479f608c884dadcacf1793e5ad to your computer and use it in GitHub Desktop.
// データを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