nuprl / gradual-typing-performance

10 stars 5 forks source link

MBTA pathology explanation #61

Closed takikawa closed 9 years ago

takikawa commented 9 years ago

I don't think we explain the weird pathologies in the MBTA benchmark yet right? We should probably explain that, but not sure where the best place to put that is.

bennn commented 9 years ago

The numbers in the paper are actually for the "fixed" mbta, without the concurrency issues (before, it was just a flat line).

So the benchmark doesn't actually run queries asynchronously, but at least allocates a new thread for each query (done in run-t)

(define (run-query str)
  (run_t input-port output-port)
  (displayln str)
  (read-to EOM))