if ( i == 5000 )
{
t00 = System.currentTimeMillis();
}
ModifyRequest modRequest = new ModifyRequestImpl();
modRequest.setName( dn );
Modification modification = new DefaultModification();
Attribute attribute = new DefaultAttribute( "sn" );
attribute.add( "test" + i );
modification.setAttribute( attribute );
modification.setOperation( ModificationOperation.REPLACE_ATTRIBUTE );
modRequest.addModification( modification );
long ttt0 = System.nanoTime();
connection.modify( modRequest );
long ttt1 = System.nanoTime();
//System.out.println("added " + i + ", delta = " + (ttt1-ttt0)/1000);