Ladsgroup added a comment.

With the alternative approach:

Without it (on master):

root@federated-wikis:/var/www/html# time php extensions/Wikibase/repo/maintenance/dumpRdf.php > /dev/null
Dumping shard 0/1
...
Processed 7042 entities.

real	0m21.666s
user	0m18.016s
sys	0m0.376s

root@federated-wikis:/var/www/html# time php extensions/Wikibase/repo/maintenance/dumpRdf.php > /dev/null
Dumping shard 0/1
...
Processed 7042 entities.

real	0m21.303s
user	0m17.436s
sys	0m0.504s

root@federated-wikis:/var/www/html# time php extensions/Wikibase/repo/maintenance/dumpRdf.php > /dev/null
Dumping shard 0/1
...
Processed 7042 entities.

real	0m20.083s
user	0m16.468s
sys	0m0.352s

Patches I cherry-picked:

commit 40df4ad514a32c15b8b84e4e204a8f5edf3b7b20
Author: Leszek Manicki <leszek.mani...@wikimedia.de>
Date:   Wed Apr 5 11:45:12 2017 +0200

    [WIP] Consider foreign entities in RDF mapping
    
    Namespaces used in clauses related to foreign entities now
    contain the repository name (prefix) of the repository
    the entity belongs to.
    
    Repository prefix is also dropped from the "local name" of
    the foreign entity.
    
    DO NOT MERGE before T162371 is resolved!
    
    This is I6acb00b23425bdce4dd03227415e593595b3c1cc without
    the cache in RdfVocabulary.
    
    Change-Id: I1fe6c6ba92d5992d1b6d1802a20fe8b47033443a

commit b63f84d779115e1cd849a81c90873eff678ca345
Author: Leszek Manicki <leszek.mani...@wikimedia.de>
Date:   Thu Nov 2 13:39:28 2017 +0100

    Use DataModel with more efficient EntityId::getRepositoryName and ::getLocalPart
    
    Change-Id: I19a9cf6f5c9b1fd5c3e1a9b2bf77a36c3d1d4739

commit e2069fbc8deaf1fad735b217c4d112daca137b54
Author: Thiemo M<C3><A4>ttig <thiemo.maet...@wikimedia.de>
Date:   Thu Nov 9 18:17:12 2017 +0100

    Reformatting in preparation for foreign entities in RDF mapping
    
    This is some very basic reformating, only done to make the diffs in
    I6acb00b much easier to review.
    
    Bug: T161592
    Change-Id: I9aff0eb930cd755582505b641385932ef9217c36

commit 22cf861cb9e49928876b007540a3f89650c1d30c
Merge: b824931 b9b1ec8
Author: jenkins-bot <jenkins-...@gerrit.wikimedia.org>
Date:   Tue Nov 14 08:23:05 2017 +0000

    Merge "Add noop hint for Descriptions too"

With it:

root@federated-wikis:/var/www/html# time php extensions/Wikibase/repo/maintenance/dumpRdf.php > /dev/null
Dumping shard 0/1
...
Processed 7042 entities.

real	0m19.684s
user	0m15.984s
sys	0m0.372s


root@federated-wikis:/var/www/html# time php extensions/Wikibase/repo/maintenance/dumpRdf.php > /dev/null
Dumping shard 0/1
...
Processed 7042 entities.

real	0m20.478s
user	0m16.812s
sys	0m0.380s

root@federated-wikis:/var/www/html# time php extensions/Wikibase/repo/maintenance/dumpRdf.php > /dev/null
Dumping shard 0/1
...
Processed 7042 entities.

real	0m20.139s
user	0m16.560s
sys	0m0.328s

TASK DETAIL
https://phabricator.wikimedia.org/T162371

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ladsgroup
Cc: hoo, Ladsgroup, PokestarFan, Lucas_Werkmeister_WMDE, Smalyshev, daniel, WMDE-leszek, Aklapper, Lahi, GoranSMilovanovic, QZanden, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to