Skip to content

accumulate test/result data (instead of just storing raw objects) #255

Description

@kellyredding

Goals:

  • use less memory b/c we no longer store every result generated
  • speed - output test results more quickly b/c we aren't counting objects in memory

This is especially painful on a big app of ours whose test suite generations over 28000 results.

  • increment a counter when a test starts
  • increment counter(s) on each new result
  • don't store anything for results you aren't going to dump
  • unshift tests as they are run so they get garbage collected along the way
  • don't store result objects - just store the raw data points needed for the view

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogwill do at some point in the future

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions