Me

Chad Nierenhausen

Professional Developer, Amateur Chef, Aspiring Maker

(Super) Dedup-er

Instrictions

  1. Select the type of item you want to generate
  2. Enter the number of items to generate, between 1 and 100,000
  3. Enter the percent of that total that should be duplicated, between .1 and .5
  4. Hit Go!
<p>The specified number of items will be generated with the specified percent of duplicates. That list will then have all duplicates removed, while maintaining the original ordering of the list. You will be shown the original list that was generated, the list with duplicates removed, and some stats about how long it took to remove the duplicates, the original number of items, and the number of duplicates that were in the list.</p>
<hr />

<div class="flex" id="form">
    <div class="row center">
        <div class="flex-item">
            <label for="dataType">Item Type</label>
            <select class="form-control" id="dataType" name="dataType">
                <option value="email" selected="selected">Emails</option>
                <option value="number">Numbers</option>
            </select>
        </div>
    </div>
    <div class="row around bottom">
        <span class="flex-item">
            <label for="number">Number of Items</label>
            <input class="form-control" id="number" type="number" name="number" min="0" max="100000" value="10"></input>
        </span>
        <span class="flex-item">
            <label for="percent">Percent duplication</label>
            <input class="form-control" id="percent" type="number" name="percent" min="0" max="0.5" value="0.25" step=".05"></input>
        </span>
        <span class="flex-item">
            <button class="btn" id="go">Go!</button>
        </span>
    </div>
</div>