Created
March 6, 2014 00:35
-
-
Save d0rc/9379849 to your computer and use it in GitHub Desktop.
steps to reproduce erl_prim_loader @100%
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defrecord Test, [id: nil, what: nil] | |
| spawn fn -> :etop.start [output: :text] end | |
| case what_to_test do | |
| :json -> Enum.each(1..1000_000, fn _ -> Test[id: 1] |> JSON.encode end) | |
| :inspect -> Enum.each(1..1000_000, fn _ -> inspect Test[id: 1] end) | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment