Skip to content

Commit 0c095ed

Browse files
authored
Merge pull request #59 from kamadorueda/kamadorueda
feat: update features
2 parents 06a270e + 80a58d8 commit 0c095ed

File tree

1 file changed

+25
-20
lines changed

1 file changed

+25
-20
lines changed

README.md

+25-20
Original file line numberDiff line numberDiff line change
@@ -48,37 +48,32 @@
4848
in just a few seconds.
4949
[^benchmark-specs]
5050

51-
| Cores | Seconds |
52-
| :---: | :-----: |
53-
| 1 | 24 |
54-
| 2 | 12 |
55-
| 4 | 7 |
56-
| 8 | 6 |
57-
| 16 | 7 |
58-
5951
- ✔️ **Powerful**
6052

61-
All elements in the Nix grammar have a totally defined style.
53+
We define a comprehensive style
54+
for all possible combinations of the Nix expression language.
6255

6356
- ✔️ **Reliable**
6457

65-
Coverage is currently 90%,
66-
and we'll have 💯% soon.
58+
High coverage, battle tested.
6759

68-
Plus, after formatting [Nixpkgs](https://github.com/nixos/nixpkgs)
69-
no semantically significant changes are made.
7060
From Nix's eyes, code is _just_ the same.
7161
[^semantic-changes]
7262

73-
- ✔️ **Reproducible**
63+
- ✔️ **Beautiful**
7464

75-
Formatting many times yields the same results.
65+
Beauty is subjective, right?
7666

77-
- 🚧 **Beautiful**
67+
We optimize for the wisdom of the crowd,
68+
which comes in big part
69+
from the 2.3 million lines of code of [Nixpkgs](https://github.com/NixOS/nixpkgs).
7870

79-
Beauty is subjective, right?
71+
- ✔️ **Transparent**
8072

81-
Style is negotiable at this moment.
73+
You won't notice the formatter after a while.
74+
75+
Humans care about the content,
76+
machines about the style!
8277

8378
## Getting started
8479

@@ -124,18 +119,28 @@ Let's get Alejandra on our systems:
124119

125120
See why Alejandra was created
126121
and a comparison between alternatives
127-
[here](https://discourse.nixos.org/t/the-uncompromising-nix-code-formatter/17385/3?u=kamadorueda)
122+
[here](https://discourse.nixos.org/t/the-uncompromising-nix-code-formatter/17385/3?u=kamadorueda).
128123

129124
## Footnotes
130125

131126
[^benchmark-specs]:
132127
Running on a [machine](https://github.com/kamadorueda/machine) with:
133128

134-
- CPU: 16 x Intel(R) Core(TM) i7-10700K
129+
- CPU: 8 physical x Intel(R) Core(TM) i7-10700K, 16 logical
135130
- MHz: 3800.00
136131
- BogoMips: 7599.80
137132
- Cache Size: 16384 KB
138133

134+
Results:
135+
136+
| Logical Cores | Seconds |
137+
| :-----------: | :-----: |
138+
| 1 | 45 |
139+
| 2 | 22 |
140+
| 4 | 14 |
141+
| 8 | 10 |
142+
| 16 | 11 |
143+
139144
[^semantic-changes]: The methodology to claim this is:
140145

141146
1. Checkout [Nixpkgs](https://github.com/nixos/nixpkgs) and run:

0 commit comments

Comments
 (0)