@Test
    @Ignore
    public void testPerfFind() {
        val list = new ArrayList<Client>();
        final int max = 10000;
        for (int i = 1; i < max; i++) {
            list.add(new MockIndirectClient("Client" + i, new FoundAction(LOGIN_URL), Optional.empty(), new CommonProfile()));
        }
        val clients = new Clients(CALLBACK_URL, list);
        Optional<Client> c = Optional.empty();
        val t0 = System.currentTimeMillis();
        for (int j = 0; j < max; j++) {
            c = clients.findClient("Client" + (max/2));
        }
        val t1 = System.currentTimeMillis();
        assertTrue(c.isPresent());
        System.out.println("Time: " + (t1-t0) + " ms");
    }
This class tests the {@link Clients} class.

@author Jerome Leleu
@since 1.3.0
pac4j-core/src/test/java/org/pac4j/core/client/ClientsTests.java