Commit graph

152 commits

Author SHA1 Message Date
kerr
fafc59b19d update headers to regular comment (#25807) 2018-10-29 05:19:37 -04:00
Patrik Nordwall
ad3ad15747 Rename MutableBehavior to AbstractBehavior, #25750
* Also cleanup javadsl Receive, which is only used from AbstractBehavior
* Clarify further in docs that the functional vs OO style is a matter of taste
2018-10-17 08:53:37 +02:00
Kazuhiro Sera
482eaea122 Fix several minor typos detected by github.com/client9/misspell (#25448)
* Fix several minor typos detected by github.com/client9/misspell

* Revert s/erminater/erminator/ in /ActorSystemSpec
2018-08-21 11:02:37 +09:00
kenji yoshida
5b3b191bac Remove procedure syntax (#25362) 2018-07-25 13:38:27 +02:00
Patrik Nordwall
d76b27ba3e
Optimize flatMapConcat for single element source, #25241 (#25242)
* Optimize flatMapConcat for single element source, #25241

* Grab the SourceSingle via TraversalBuilder

* Also handle the case when there is no demand

* don't match when mapMaterializedValue and async
2018-07-11 18:19:40 +02:00
Patrik Nordwall
f754705c9c Optimized serializer for ORSet[ActorRef], #23703
* ORSet[ActorRef] is used by Akka Typed receptionist
* and similar for GSet[ActorRef]

ORSetSerializationBenchmark
2018-07-10 20:54:51 +02:00
Lukasz Stefaniak
b8230a38b7 Optimize JsonObjectParser.isWhitespace by replacing Set.contains with match using table switch (#25260) 2018-06-26 16:44:28 +02:00
Patrik Nordwall
072627380b Optimize mapAsync(1) (#25185)
* by using mapAsyncUnordered for that case
2018-06-26 12:36:41 +02:00
Richard S. Imaoka
60eee84345 Replace graph with operator in Scaladoc/Javadoc 2018-06-09 17:42:56 +09:00
Doug Roper
b6d6d543a8 Optimize ByteString.grouped(size) (#25153)
* Add ByteString.grouped() benchmark & tests.

* Implement ByteString.grouped().

* PR comments.
2018-05-30 23:31:35 +09:00
Richard Imaoka
a57235098b consistent wording; operator instead of combinator, in remaining places (#25101) 2018-05-15 15:31:11 +02:00
Viktor Klang
3ee28a2e43 prove that it is possible to integrate JCTools for mailboxes
* enable JCToolsMailbox in benchmarks
2018-05-02 20:48:11 +02:00
Johan Andrén
30423e3b84
Ported ActorBenchmark to typed (#24815) 2018-04-06 08:56:34 +02:00
Jimin Hsieh
2c2b8ba001 Remove some of Unused import warning (#24650) 2018-03-16 12:08:29 +01:00
Konrad `ktoso` Malawski
563c7fbcf0 Issue 24594: Integration with sbt-headers and initial header population 2018-03-13 15:45:55 +01:00
kerr
97ca714d17 = all remove semicolons "bye-bye semicolon" (#24659) 2018-03-06 09:53:28 +09:00
Konrad Malawski
1574faf180 +ben add DirectBufferPoolBenchmark, just for reference 2018-03-01 22:16:18 +09:00
Patrik Nordwall
5e80bd97f2 Stop unused Artery outbound streams, #23967
* fix memory leak in SystemMessageDelivery
* initial set of tests for idle outbound associations, credit to mboogerd
* close inbound compression when quarantined, #23967
  * make sure compressions for quarantined are removed in case they are lingering around
  * also means that advertise will not be done for quarantined
  * remove tombstone in InboundCompressions
* simplify async callbacks by using invokeWithFeedback
* compression for old incarnation, #24400
  * it was fixed by the other previous changes
  * also confirmed by running the SimpleClusterApp with TCP
    as described in the ticket
* test with tcp and tls-tcp transport
  * handle the stop signals differently for tcp transport because they
    are converted to StreamTcpException
* cancel timers on shutdown
* share the top-level FR for all Association instances
* use linked queue for control and large streams, less memory usage
* remove quarantined idle Association completely after a configured delay
  * note that shallow Association instances may still lingering in the
    heap because of cached references from RemoteActorRef, which may
    be cached by LruBoundedCache (used by resolve actor ref).
    Those are small, since the queues have been removed, and the cache
    is bounded.
2018-02-21 11:59:18 +01:00
Patrik Nordwall
0d222906f4 Prepare Artery for alternative TCP transport, #24390
* Refactoring to separate the Aeron specific things, ArteryAeronUdpTransport
* move Aeron specific classes to akka.remote.artery.aeron package
* move Version to ArterySettings, and describe strategy for envelope header changes
2018-02-20 16:02:57 +01:00
Konrad `ktoso` Malawski
800923522a
=str #24413 make sure to check if available to push (#24434)
* =str #24413 make sure to check if available to push

* address review

* Update SourceRefBenchmark.scala
2018-01-30 00:27:40 +09:00
Christopher Batey
009214ae07
Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
Johan Andrén
3dda73c1ea
Async callback memory leak fix #24046 2017-12-05 14:07:10 +01:00
Martynas Mickevičius
82ca8a2cc7 Port build to SBT 1.x (#23850)
* Port build to SBT 1.x

* Fix multinode tests, always enable genjavadoc bootstrap
2017-10-30 10:13:13 +09:00
Arnout Engelen
282a9b65f2 Update to scalariform 1.8.1 (#23806) 2017-10-15 13:58:24 -05:00
Arnout Engelen
b1df13d4d4 Update scalariform (#23778) (#23783) 2017-10-06 10:30:28 +02:00
Guido Medina
9df5d80268 Java 9 Unsafe access to String value type mismatch. (#23710)
It needs to account for both Java 8 and 9 where the types are char[] and byte[] respectively.
2017-09-25 23:22:49 +09:00
Patrik Nordwall
120e248e6f Merge pull request #23626 from akka/wip-21732-rewrite-filesource-with-java-nio-patriknw
=str 21732 rewrite file souce with NIO and GraphStagу
2017-09-12 16:30:48 +02:00
László van den Hoek
63d9ec1c87 More consistency between UniformFanInShape and UniformFanOutShape (#23321)
* add+use UniformFanOutShape#outSeq for consistency

UniformFanInShape has inSeq, whereas UniformFanOutShape has outArray.
There's probably no good reason for this discrepancy.

* 2.5.3 is gold, deprecation would start in 2.5.4

* specialize in/outlets where possible

* review comments, binary compatibility

* optimize imports

* use Array copy internally

* give FanInShape1N the deprecation treatment

also, s/T\d/I\d/g

* delete ignored file

* process additional review comments

* make inArray fully private everywhere

* add benchmark heavy on the use of FanInShape.in()

* benchmark says: do not use Array for most n

* add JavaDoc to un-final'ed defs to not override

* change deprecated val to def; do not use it

* process patriknw's review comments
2017-09-12 16:14:20 +02:00
Alexander Golubev
000ed93576 =str 21732 rewrite file souce with NIO and GraphStagу
add MiMa excludes and additional test

add benchmark and move eclusions to 2.5.4

add future completion on stream termination
2017-09-12 14:54:41 +02:00
Patrik Nordwall
fa4ce6bbe7 new actor benchmark (#23489)
* and array based mailbox in bench project
2017-09-11 16:57:57 +02:00
Patrik Nordwall
9abe5ae092 Merge pull request #23473 from akka/wip-immutableintmap-√
Extensibility, performance, and documentation improvements to AffinityPool
2017-08-10 08:36:17 +02:00
Viktor Klang
6f5a89d3d5 Modularizes the queue-selector in AffinityPool 2017-08-10 00:01:50 +02:00
Patrik Nordwall
945ade245e Add PartitonHub, #21880
* FixedSizePartitionHub in Artery
* expose consumer queue size
2017-08-09 17:00:35 +02:00
Viktor Klang
912a6f33e9 Optimizations and correctness fixes to the AffinityPool
Notably:
* Reimplementation of ImmutableIntMap for much faster performance
* Benchmark for ImmutableIntMap added to akka-bench-jmh
* Many small performance improvements to the impl of AffinityPool
* Correctness fixes for pool lifecycle management
2017-07-20 21:59:28 +09:00
Zahari Dichev
4d45064296 Add AffinityPool which pins actors to threads (#23104) 2017-07-07 13:36:26 +02:00
Arnout Engelen
39f0a982b2 Document how to run JMH benchmarks (#23262) 2017-07-03 07:05:50 -07:00
Hawstein
b3d00afdd1 Move ConstantFun to akka.util, #22813 2017-05-10 18:00:42 +02:00
Patrik Nordwall
650e7b9a7f Merge pull request #22583 from akka/wip-sub-stream-bench-patriknw
add sub-stream benchmark
2017-03-31 16:29:50 +02:00
Björn Antonsson
f8b4fb55ca Remove use of deprecated Scala features #22581 2017-03-27 19:05:54 +03:00
Patrik Nordwall
b51e241126 add sub-stream benchmark
* and remove invalid graph_with_nested_imports
2017-03-17 15:20:33 +01:00
Patrik Nordwall
569175ac62 Improve ForkJoinActorBenchmark
* more messages in flight

* additional cleanup
2017-03-16 20:48:55 +01:00
Johan Andrén
57bce6ad1f Benchmark for actor throughput with FJP #18262
1-to-1 actor per core bench, avoiding to spend time in string equals
2017-03-16 20:45:10 +01:00
Martynas Mickevičius
11c513fda7 Merge pull request #22542 from 2m/wip-resize-mat-connections-2m
#22429 Resize connections array when needed
2017-03-13 19:43:50 +02:00
Johan Andrén
7a0e5b31f8 Avoid Array.ofDim where possible #22516 2017-03-13 17:49:45 +01:00
Martynas Mickevičius
4bb283b458 #22429 Resize connections array when needed 2017-03-13 09:49:25 +02:00
Patrik Nordwall
3554ad7243 Merge branch 'master' into wip-traversal-oriented-layout-master-patriknw 2017-03-10 18:16:44 +01:00
Konrad `ktoso` Malawski
e2a15a2a58 =str use OptionVal in Traversal building 2017-03-10 11:45:26 +01:00
Konrad `ktoso` Malawski
99705d1ccc =str #22437 replace require() with if calls to avoid fn allocs 2017-03-10 10:44:58 +01:00
Konrad `ktoso` Malawski
67fd0cc0b6 =str #22438 make use of OptionVal in materializer internals 2017-03-10 10:44:43 +01:00
Konrad `ktoso` Malawski
4c0d6ddb7a =ben,str make sure to return values in benchmarks 2017-03-10 10:29:30 +01:00