Skip to content

The benchmark does not run :) #3

@vassilevsky

Description

@vassilevsky

Hi :)

I tried Erlang 19 and 21 on macOS Mojave and CentOS 7.5.

Compilation works fine.

Running it gives me this error:

escript: exception error: bad argument
  in function  json:json_encode/1
     called as json:json_encode(true)
  in call from erljson_bench:'-smoke/0-fun-0-'/1 (src/erljson_bench.erl, line 13)
  in call from lists:map/2 (lists.erl, line 1239)
  in call from erljson_bench:smoke/0 (src/erljson_bench.erl, line 11)
  in call from erljson_bench:main/1 (src/erljson_bench.erl, line 73)

What do I do? Sorry, I'm new to Erlang :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions