Re: ASDF v0.1.5-beta0: new parser is ~40% faster

2017-10-04 Thread drug via Digitalmars-d-announce

04.10.2017 17:19, Daniel Kozák пишет:

sajson loops are manually unrolled already. Very aggressive
optimisation makes no sense and may unroll loops additionally
and slowdown the program


https://github.com/tamediadigital/asdf/pull/79


Re: ASDF v0.1.5-beta0: new parser is ~40% faster

2017-10-04 Thread Daniel Kozák via Digitalmars-d-announce
On Wednesday, 4 October 2017 at 14:04:30 UTC, Nicholas Wilson 
wrote:
On Wednesday, 4 October 2017 at 13:15:17 UTC, Ilya Yaroshenko 
wrote:

On Wednesday, 4 October 2017 at 12:11:54 UTC, Kagamin wrote:
On Sunday, 1 October 2017 at 14:38:04 UTC, Ilya Yaroshenko 
wrote:
[1] 
https://github.com/tamediadigital/asdf/tree/master/benchmarks/sajson


AFAIK, ldc translates dmd's -O option to llvm's -O3.


sajson loops are manually unrolled already. Very aggressive 
optimisation makes no sense and may unroll loops additionally 
and slowdown the program.


Any reason clang++ is only -O2, not -O{3,s,z}?

sajson loops are manually unrolled already. Very aggressive
optimisation makes no sense and may unroll loops additionally
and slowdown the program



Re: ASDF v0.1.5-beta0: new parser is ~40% faster

2017-10-04 Thread Nicholas Wilson via Digitalmars-d-announce
On Wednesday, 4 October 2017 at 13:15:17 UTC, Ilya Yaroshenko 
wrote:

On Wednesday, 4 October 2017 at 12:11:54 UTC, Kagamin wrote:
On Sunday, 1 October 2017 at 14:38:04 UTC, Ilya Yaroshenko 
wrote:
[1] 
https://github.com/tamediadigital/asdf/tree/master/benchmarks/sajson


AFAIK, ldc translates dmd's -O option to llvm's -O3.


sajson loops are manually unrolled already. Very aggressive 
optimisation makes no sense and may unroll loops additionally 
and slowdown the program.


Any reason clang++ is only -O2, not -O{3,s,z}?


Re: ASDF v0.1.5-beta0: new parser is ~40% faster

2017-10-04 Thread Ilya Yaroshenko via Digitalmars-d-announce

On Wednesday, 4 October 2017 at 12:11:54 UTC, Kagamin wrote:
On Sunday, 1 October 2017 at 14:38:04 UTC, Ilya Yaroshenko 
wrote:
[1] 
https://github.com/tamediadigital/asdf/tree/master/benchmarks/sajson


AFAIK, ldc translates dmd's -O option to llvm's -O3.


sajson loops are manually unrolled already. Very aggressive 
optimisation makes no sense and may unroll loops additionally and 
slowdown the program.


Re: ASDF v0.1.5-beta0: new parser is ~40% faster

2017-10-04 Thread Kagamin via Digitalmars-d-announce

On Sunday, 1 October 2017 at 14:38:04 UTC, Ilya Yaroshenko wrote:
[1] 
https://github.com/tamediadigital/asdf/tree/master/benchmarks/sajson


AFAIK, ldc translates dmd's -O option to llvm's -O3.


Re: ASDF v0.1.5-beta0: new parser is ~40% faster

2017-10-04 Thread Atila Neves via Digitalmars-d-announce

On Sunday, 1 October 2017 at 14:38:04 UTC, Ilya Yaroshenko wrote:

Hello,

About ASDF
-
ASDF [3] is a cache oriented string based JSON representation. 
Besides, it is a convenient Json Library for D that gets out of 
your way. ASDF is specially geared towards transforming high 
volumes of JSON dataframes, either to new JSON Objects or to 
custom data types.


[...]


Good work on those benchmarks!

Atila


Re: ASDF v0.1.5-beta0: new parser is ~40% faster

2017-10-01 Thread Ilya Yaroshenko via Digitalmars-d-announce

On Sunday, 1 October 2017 at 14:38:04 UTC, Ilya Yaroshenko wrote:

[2]

proper link is
https://github.com/tamediadigital/asdf/releases/tag/v0.1.5-beta0