Resolve "Retrieve samples by instrument"
Closes #442 (closed)
The endpoint /catalogue/sessionId/samples
accepts now instrumentName
Performance is:
ab "https://icatplus.esrf.fr/catalogue/d7d56802-a6b7-4bdb-832e-77e35a8395f9/samples?instrumentName=ID23-1&sortBy=DATE&sortOrder=-1&havingAcquisitionDatasets=true&limit=2&skip=0"
This is ApacheBench, Version 2.3 <$Revision: 1843412 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking icatplus.esrf.fr (be patient).....done
Server Software:
Server Hostname: icatplus.esrf.fr
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES128-GCM-SHA256,4096,128
Server Temp Key: X25519 253 bits
TLS Server Name: icatplus.esrf.fr
Document Path: /catalogue/d7d56802-a6b7-4bdb-832e-77e35a8395f9/samples?instrumentName=ID23-1&sortBy=DATE&sortOrder=-1&havingAcquisitionDatasets=true&limit=2&skip=0
Document Length: 4577 bytes
Concurrency Level: 1
Time taken for tests: 0.725 seconds
Complete requests: 1
Failed requests: 0
Total transferred: 4864 bytes
HTML transferred: 4577 bytes
Requests per second: 1.38 [#/sec] (mean)
Time per request: 724.850 [ms] (mean)
Time per request: 724.850 [ms] (mean, across all concurrent requests)
Transfer rate: 6.55 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 29 29 0.0 29 29
Processing: 696 696 0.0 696 696
Waiting: 696 696 0.0 696 696
Total: 725 725 0.0 725 725
Edited by Alejandro De Maria Antolinos