• ConorG

    ConorG

    3 years ago
    ConorG
    t
    +1
    3 replies
    Copy to Clipboard
  • v

    Vladyslav Sitalo

    3 years ago
    @Tom Hanley@Daniel @ConorG Would appreciate your feedback on this one 🙂
    v
    t
    8 replies
    Copy to Clipboard
  • t

    Tom Hanley

    1 year ago
    Hey @Tristan Hamilton! I was taking a look at the kotin result repo, to check out the benchmarks and test out the exception throwing performance. I opened a PR for a small issue to move the benchmarking code into a separate module, was cool to check out the kmp library structure and make a small contribution!
    t
    1 replies
    Copy to Clipboard
  • t

    Tom Hanley

    1 year ago
    I also tested out the question i had about how bad the performance if for throwing and catching an exception, so I tested with the JMH setup and interestingly: • a
    runCatching
    block that doesn't throw was doing well over 200k ops/ms • a
    runCatching
    block that did throw and catch an exception was doing 993 ops/ms So quite the performance hit from throwing exceptions!
    t
    1 replies
    Copy to Clipboard