         XCTAssertNotNil(roles.first(where: { $0.id == Snowflake(role2["id"] as! String)! }), "roles should find role2")
     }
 
+    #if PERFTEST
     func testCreatingGuildWithALargeNumberOfMembersIsConsistent() {
         tGuild["members"] = createGuildMemberObjects(n: 100_000)
 

            ("testCreatingGuildSetsVerificationLevel", testCreatingGuildSetsVerificationLevel),
            ("testCreatingGuildSetsUnavailable", testCreatingGuildSetsUnavailable),
            ("testGuildCorrectlyGetsRolesForMember", testGuildCorrectlyGetsRolesForMember),
            ("testCreatingGuildWithALargeNumberOfMembersIsConsistent", testCreatingGuildWithALargeNumberOfMembersIsConsistent),
            ("testCreatingGuildWithALargeNumberOfPresencesIsConsistent", testCreatingGuildWithALargeNumberOfPresencesIsConsistent),
        ]
    }

    public override func setUp() {

        XCTAssertEqual(guild.presences.count, 100_000, "init should create 100_000 presences")
        XCTAssertEqual(guild.presences[5000]?.user.id, 5000, "init should create presences correctly")
    }
    #endif

    var tGuild: [String: Any]!

    public static var allTests: [(String, (TestDiscordGuild) -> () -> ())] {
        var tests = [
            ("testCreatingGuildSetsId", testCreatingGuildSetsId),
            ("testCreatingGuildSetsName", testCreatingGuildSetsName),
            ("testCreatingGuildSetsDefaultMessageNotifications", testCreatingGuildSetsDefaultMessageNotifications),
