benchmarks


License

License

Categories

Categories

Scala Languages
GroupId

GroupId

com.geirsson
ArtifactId

ArtifactId

scalafmt-benchmarks_2.11
Last Version

Last Version

0.5.2-RC1
Release Date

Release Date

Type

Type

jar
Description

Description

benchmarks
benchmarks
Project URL

Project URL

https://github.com/olafurpg/scalafmt
Project Organization

Project Organization

com.geirsson
Source Code Management

Source Code Management

https://github.com/olafurpg/scalafmt

Download scalafmt-benchmarks_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.geirsson/scalafmt-benchmarks_2.11/ -->
<dependency>
    <groupId>com.geirsson</groupId>
    <artifactId>scalafmt-benchmarks_2.11</artifactId>
    <version>0.5.2-RC1</version>
</dependency>
// https://jarcasting.com/artifacts/com.geirsson/scalafmt-benchmarks_2.11/
implementation 'com.geirsson:scalafmt-benchmarks_2.11:0.5.2-RC1'
// https://jarcasting.com/artifacts/com.geirsson/scalafmt-benchmarks_2.11/
implementation ("com.geirsson:scalafmt-benchmarks_2.11:0.5.2-RC1")
'com.geirsson:scalafmt-benchmarks_2.11:jar:0.5.2-RC1'
<dependency org="com.geirsson" name="scalafmt-benchmarks_2.11" rev="0.5.2-RC1">
  <artifact name="scalafmt-benchmarks_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.geirsson', module='scalafmt-benchmarks_2.11', version='0.5.2-RC1')
)
libraryDependencies += "com.geirsson" % "scalafmt-benchmarks_2.11" % "0.5.2-RC1"
[com.geirsson/scalafmt-benchmarks_2.11 "0.5.2-RC1"]

Dependencies

compile (8)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.8
com.geirsson : scalafmt-core_2.11 jar 0.5.2-RC1
com.geirsson : scalafmt-test-utils_2.11 jar 0.5.2-RC1
pl.project13.scala : sbt-jmh-extras jar 0.2.15
org.openjdk.jmh : jmh-core jar 1.14
org.openjdk.jmh : jmh-generator-bytecode jar 1.14
org.openjdk.jmh : jmh-generator-reflection jar 1.14
org.scalariform : scalariform_2.11 jar 0.1.8

provided (2)

Group / Artifact Type Version
org.scoverage : scalac-scoverage-runtime_2.11 jar 1.0.1
org.scoverage : scalac-scoverage-plugin_2.11 jar 1.0.1

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 jar 2.2.1

Project Modules

There are no modules declared in this project.

scalafmt

Build Status Build status Join the chat at https://gitter.im/scalameta/scalafmt Latest version

User documentation

Head over to the user docs for instructions on how to install scalafmt.

Quick help

  • sbt compile or sbt core/compile (specific project).
  • Run all unit tests: sbt test
  • Run only formatting tests: tests/testOnly *FormatTests.
  • Write new formatting test: read this doc.
  • Build docs: See instructions on the site or locally at ./docs/contributing-website.md.
  • Hack on sbt plugin: run sbt scripted.
  • Run jmh benchmarks: ./bin/run-benchmarks.sh.
  • Run formatter on millions of lines of code: tests/test:runMain org.scalafmt.ScalafmtProps (slow, and requires a lot of memory/cpu)
  • Debug performance: after each test run in FormatTests, a flamegraph report like this one is generated in target/index.html. I usually keep a browser tab open at localhost:3000/target/index.html along with this background process: browser-sync start --server --files "target/*.html". See Browsersync.

Team

The current maintainers (people who can merge pull requests) are:

An up-to-date list of contributors is available here: https://github.com/scalameta/scalafmt/graphs/contributors

We strive to offer a welcoming environment to learn, teach and contribute.

Acknowledgements

JProfiler generously supports scalafmt with its full-featured Java Profiler.

Versions

Version
0.5.2-RC1
0.5.1
0.5.0
0.5.0-RC4
0.5.0-RC3
0.5.0-RC2
0.5.0-RC1
0.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.3-RC1
0.4.2
0.4.1
0.4.0
0.4.0-RC3
0.3.1
0.3.0
0.3.0-RC1
0.2.12
0.2.11
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.6-RC1
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.1.0-RC3
0.1.0-RC2
0.1.0-RC1