google / caliper

Micro-benchmarking library for Java
Apache License 2.0
816 stars 109 forks source link

Moe Sync #384

Closed ronshapiro closed 6 years ago

ronshapiro commented 6 years ago

This code has been reviewed and submitted internally. Feel free to discuss on the PR and we can submit follow-up changes as necessary.

Commits:

Rename DeviceService to Device. Despite being a service, it is primarily an abstraction of a device that happens to be a service. It will be the device part of the (Device, Vm) pair that makes a Target, and Device reads much more nicely in most contexts. 3587618f95cbf0508125edb4dff3ec8e4600bf44 -------

Change Platform.Type to VmType and @SupportedPlatform to @SupportsVmType. These will move to a different package in the future, but this should help reduce the diff at least. fb3e08385e9ca5d15688ef2cce61ac27f97c54b1